Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is there any away to get all selected items from Listbox
Message
 
 
To
14/10/2001 10:57:35
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00568276
Message ID:
00568352
Views:
18
>Hello all,
>I have a listbox with multiselect = .t. I have about 1500 records in it. is there any way i can get all the selected records in one shot? otherwise i have to loop through Listcount and see selected property.
>
>other idea is to put multiselect grid instead of listbox. but then grid does not have interactivesearch. i can write interactivesearch for grid. but just wanted to know if i can use listbox that would be very easier.
>
>so anyone has a idea that is it possible to get all the selected items from listebox in one shot?
>
>Thanks in advance
>
>Mark

I would suggest to use multiselect grid instead. See Cetin's sample in Download section or new version in FoxyClasses. Listbox doesn't work well with this number of items. The maximum number for VFP6.0 multiselect listboxes is 100 items, then they start to behave flanky... BTW, this class already has Incremental Search implemented.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform