954,499 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

[Borland C++ Builder] ListBox Multiple Selection

Hey, I am wondering how I can grab all the selected strings from a ListBox with multiple selection on...

I tried looking for it on google and everything, and I know about SelCount but I haven't been able to find out how to grab the strings or the indexes of the selected items...

Any help is appreciated, thanks :D
fmwyso

fmwyso
Newbie Poster
14 posts since Oct 2007
Reputation Points: 10
Solved Threads: 0
 

Hey, I am wondering how I can grab all the selected strings from a ListBox with multiple selection on...

I tried looking for it on google and everything, and I know about SelCount but I haven't been able to find out how to grab the strings or the indexes of the selected items...

Any help is appreciated, thanks :D fmwyso


hi
which tool or language you using now.

In VC++.NET or C#,VB, there is property "SelectedItems" which returns a collection(array) of currently selected items.


--
Regards,
Asif

asifjavaid
Light Poster
40 posts since Oct 2006
Reputation Points: 10
Solved Threads: 0
 

Hey, I'm using Borland C++ Builder 2009 and I haven't been able to find anything like the VB selectedItems for some reason... I'm pretty sure I'm just not doing/using the right things, I just need someone to tell me what variable it is in a listbox xD. (SelectedItems is not a possiblity).

fmwyso
Newbie Poster
14 posts since Oct 2007
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You