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

From: Christian Charette (christian_at_here.com)
Date: 06/14/04


Date: Mon, 14 Jun 2004 13:24:57 -0300

Wow greate job Marek, this is realy nice... it's a nice and light component!

Christian

"marek jedlinski" <marek@tranglos.INVALID.com> wrote in message
news:ae1nc09qe8tekgomive92f0lop2eform2a@4ax.com...
> TMultiView (suggestions for a better name kindly accepted ;) is a
> component written in Delphi 6, descended from TCustomControl. I haven't
> seen a Delphi component that does what TMultiView does, although some
> expensive grids can probably display data in a similar fashion. It's a bit
> hard to describe, so here's an example screenshot:
>
> http://www.tranglos.com/delphi/demomv.png
>
> Basic idea: one item consists of one or more rows; each row consists of
one
> or more cells, and the number of cells in each row can be different. (This
> is where it departs from a grid - there's no concept of columns). The
> purpose is to display data that typically would be shown in a listview.
The
> problem with a listview is that not a lot of text fits horizontally, so
> horizontal scrolling is usually required or text is shortened to fit
within
> column width. Using a TMultiView you can allocate as much space as you
need
> for each piece of data (cell), but the number of items visible in the
> client area will be smaller than in a listview, since items tend to be
> tall.
>
> TMultiView does not manage a list of items. It only knows the count of
> items and the layout (same for all items). The component uses events to
> query for data to display in each cell - this is a "virtual" mode familiar
> to those who use MIke Lischke's VirtualTree.
>
> Cells can display text or images, have their own font and color, alignment
> (horizontal and vertical), cursor, hint. Cells can contain multi-line text
> and can display borders.
>
> The component is at a very early alpha stage. It compiles and works to the
> extent that you can get a good idea of what it's supposed to be (check the
> demo), but several important features aren't built in yet. I have decided
> to release the component very early, because I hope to receive comments or
> suggestions on how to proceed further; there are several design decisions
> that need to be made. I don't recommend installing it in IDE, because the
> code is not yet aware of design-time issues and it will be changing often
> (including published properties). This is the first visual component I've
> written from scratch and I'm learning all the steps as I go.
>
> Description, screenshot, full source code, executable demo:
> http://www.tranglos.com/delphi/multiview.html
>
> Please see the demo source code for how to create the component
> dynamically, how to design the layout and how to feed data for display
> using events.
>
> TMultiView is open-source (Mozilla Public License).
>
> .marek
>
> --
> No ads, no nags freeware: http://www.tranglos.com
> (KeyNote, PhoneDeck, KookieJar, Oubliette, URLInject)
>
> Venture capitalists sleep like babies. They sleep for two hours,
> then they wake up and cry, then sleep for two hours...
>



Relevant Pages

  • Re: TMultiView, open-source flexible display component (alpha release)
    ... > or more cells, and the number of cells in each row can be different. ... > purpose is to display data that typically would be shown in a listview. ... Using a TMultiView you can allocate as much space as you ...
    (borland.public.delphi.thirdpartytools.general)
  • ANN: TMultiView, open-source flexible display component (alpha release)
    ... seen a Delphi component that does what TMultiView does, ... or more cells, and the number of cells in each row can be different. ... purpose is to display data that typically would be shown in a listview. ...
    (borland.public.delphi.thirdpartytools.general)
  • All words and Symbols of keybord should be added to Auto Shapes
    ... Suggestions are both for Word and Excel where applicable. ... Transpose should have an extra facility to transpose the selected cells ... display begins in the second line and therefore we cannot see row name A, B, ... And more in a single selection at a time, then there will be no problem. ...
    (microsoft.public.excel.misc)
  • 26 Suggestions for both Word and Excel
    ... Transpose should have an extra facility to transpose the selected cells ... display begins in the second line and therefore we cannot see row name A, B, ... And more in a single selection at a time, then there will be no problem. ... Identity to any selected Paragraph, line, or any character or criteria. ...
    (microsoft.public.word.docmanagement)
  • Re: Why the dataflow paradigm?
    ... >>One thing you are missing is that, for a display attribute such as ... propagate immediately, I have to mark as invalid not just my immediate ... have lost the optimization of stopping propagation when possible. ... also mediated by cells. ...
    (comp.lang.lisp)