Re: TMultiView, open-source flexible display component (alpha release)

From: marek jedlinski (marek_at_tranglos.INVALID.com)
Date: 06/13/04

  • Next message: marek jedlinski: "Re: TMultiView, open-source flexible display component (alpha release)"
    Date: Sun, 13 Jun 2004 15:09:59 +0200
    
    

    On Sun, 13 Jun 2004 14:54:38 +1000, "Lauchlan M"
    <LMackinnon@NOSPAMHotmail.com> wrote:

    >> TMultiView (suggestions for a better name kindly accepted ;)
    >
    >What about TFlexiRepeater?

    Not bad! I couldn't find a delphi component called MultiView, but the word
    itself is used a lot, and so are PolyView, FreeView, FlexiView and similar
    variants I've thought about.

    >Like Herbert, I am having some trouble understanding exactly what the
    >component does.

    Have you seen the demo app? (Asking only because if you have seen it and
    the purpose is still unclear, then I have a big problem :)

    >I am thinking (and I hope!) that each item is perhaps an
    >object, say with properties WebsiteName, WebsiteLink, NumberVisits, and you
    >define a template into which you put his information.

    Yes, quite. The component itself doesn't know about any particular object,
    but the idea is to display object properties such as you describe. I would
    create a class named, say, MultiViewController which would manage the
    component and know the objects whose properties are displayed, so that the
    layout and all the details can be encapsulated. (I'm using this technique
    with VirtualTreeview, so as to avoid code duplication and littering the
    form's unit with all the events necessary to drive the tree.)

    >You then feed your
    >component a list of objects and it spits out a vertically repeated set of
    >formatted text? Or does it include controls as well?

    No, it doesn't, and it's not data aware. I'd like to add in-place editors
    eventually, but at the moment it's only for presentation.

    .marek

    -- 
    No ads, no nags freeware: http://www.tranglos.com
    (KeyNote, PhoneDeck, KookieJar, Oubliette, URLInject)
    My operat~1 system unders~1 long filena~1 , does yours?
    

  • Next message: marek jedlinski: "Re: TMultiView, open-source flexible display component (alpha release)"