[Borland C++ Builder] ListBox Multiple Selection

Please support our C++ advertiser: Intel Parallel Studio Home
Reply

Join Date: Oct 2007
Posts: 14
Reputation: fmwyso is an unknown quantity at this point 
Solved Threads: 0
fmwyso fmwyso is offline Offline
Newbie Poster

[Borland C++ Builder] ListBox Multiple Selection

 
0
  #1
Nov 6th, 2008
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
Reply With Quote Quick reply to this message  
Join Date: Oct 2006
Posts: 38
Reputation: asifjavaid is an unknown quantity at this point 
Solved Threads: 0
asifjavaid asifjavaid is offline Offline
Light Poster

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

 
0
  #2
Nov 7th, 2008
Originally Posted by fmwyso View 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

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
Reply With Quote Quick reply to this message  
Join Date: Oct 2007
Posts: 14
Reputation: fmwyso is an unknown quantity at this point 
Solved Threads: 0
fmwyso fmwyso is offline Offline
Newbie Poster

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

 
0
  #3
Nov 7th, 2008
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).
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Other Threads in the C++ Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC