January 18th, 2013, 10:09 AM
DualListView: How to get multiple selected values in a string ?
i'm using a DualListView, Is it possible to get all the selected values of a DualListView in a string ?
-Tank 1 -Tank 2
-Tank 3 -Tank 4
-Tank 5 -Tank 6
is it possible to save a string with all the selected values 'Tank 2, Tank 4, Tank 6' ?
Or is there any properties ?
January 20th, 2013, 05:17 PM
Is TDualListView a Delphi component? It did not pop up in my Delphi help.
With a TCustomListView you would walk the list using GetNextItem and check the
Selected property of each TListItem and work with whichever property you need.
Presumably, from your question the Caption property.