Information générale
Catégorie:
Codage, syntaxe et commandes
Titre:
Problem with multiselect listbox
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement