Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with multiselect listbox
Message
De
16/04/1999 08:32:59
Thomas Idema
Michigan Hospital Association
Lansing, Michigan, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Problem with multiselect listbox
Divers
Thread ID:
00208929
Message ID:
00208929
Vues:
55
I am having a bear of a time working with multiselect listboxes. The source of the list changes when the user selects a different category of fields in another drop down. The list populates fine and when the user selects items, I can collect all of the selected items into an array. But when they come back to the same selection list and I run through the array and set the selected property for all of the items in the list it gets screwed up.

While debugging, I have it stopping everytime the selected property is to be set to .t. and it is finding all of the items. But when it displays it - some are selected, some wrong ones are selected, and some are missing.

When I am working with a small number of records (ie less than 200) everything works fine. But when I use large lists and set the selected property in code, it does not remain selected when displayed.

I am working with VFP 6.0

Any ideas would be great, Thanks
Thom
Répondre
Fil
Voir

Click here to load this message in the networking platform