943,712 Members | Top Members by Rank

Ad:
  • C++ Discussion Thread
  • Unsolved
  • Views: 1487
  • C++ RSS
Nov 6th, 2008
0

[Borland C++ Builder] ListBox Multiple Selection

Expand Post »
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
fmwyso
Reputation Points: 10
Solved Threads: 0
Newbie Poster
fmwyso is offline Offline
14 posts
since Oct 2007
Nov 7th, 2008
0

Re: [Borland C++ Builder] ListBox Multiple Selection

Click to Expand / Collapse  Quote originally posted by fmwyso ...
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
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
Reputation Points: 10
Solved Threads: 0
Light Poster
asifjavaid is offline Offline
40 posts
since Oct 2006
Nov 7th, 2008
0

Re: [Borland C++ Builder] ListBox Multiple Selection

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).
Reputation Points: 10
Solved Threads: 0
Newbie Poster
fmwyso is offline Offline
14 posts
since Oct 2007

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C++ Forum Timeline: Using cout with graphic screens
Next Thread in C++ Forum Timeline: Another Function problem :-(





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC