1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2012
    Rep Power

    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 ?

    For instance,
    Available Selected
    -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 ?
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Regular (2000 - 2499 posts)

    Join Date
    Jan 2006
    Carlsbad, CA
    Rep Power
    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.

IMN logo majestic logo threadwatch logo seochat tools logo