>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