Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is there any away to get all selected items from Listbox
Message
 
 
À
14/10/2001 10:57:35
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00568276
Message ID:
00568352
Vues:
19
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform