[DUG] ListView - Scroll Event
Ross Levis
ross at stationplaylist.com
Mon Jul 28 13:51:56 NZST 2014
I’m the opposite and use listviews for everything that has columns, virtual and non-virtual modes. Except I did decide to use a StringGrid for viewing a CSV log file. Windows uses a listview for viewing files in a folder. You have the option of easily changing from Details, List, Small Icons or Big Icons with a change of a Property. I have different icons for identifying different types of data.
From: delphi-bounces at listserver.123.net.nz [mailto:delphi-bounces at listserver.123.net.nz] On Behalf Of John Bird
Sent: Monday, 28 July 2014 11:38 a.m.
To: NZ Borland Developers Group - Delphi List
Subject: Re: [DUG] ListView - Scroll Event
I have not used Listviews – for displaying lists I have generally used grids, listboxes, or checklistboxes. Out of curiosity what are the main advantages of Tlistview as it seems to have a couple of extra hurdles to use. Or is it better to go the whole way and use something like Virtual Tree View (which I am not sure if is supported in Unicode Delphi). Myself I have generally favoured driving stringgrids quite hard with quite a bit of code in the drawcell event which gives a lot of flexibility (I did a VCL stringgrid version of the Firemonkey periodic table with TList and Stringgrids that looks pretty cool with colours and multiple texts in each cell.).
The firemonkey controls allowing embedding of other controls in them look very promising as well (although I can hear comments starting up about scorched chimp even as I type this!)
Comments on merits of each (Listview and Virtual Tree View) and any references for further reading would be welcome.
This is apropos a larger topic – how to figure out which control to use for a particular purpose – something which the help does not really give much help on.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listserver.123.net.nz/pipermail/delphi/attachments/20140728/d77cdf28/attachment-0001.html
More information about the Delphi
mailing list