General information
Category:
Coding, syntax & commands
Title:
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
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only