Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with multiselect listbox
Message
From
16/04/1999 08:32:59
Thomas Idema
Michigan Hospital Association
Lansing, Michigan, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Problem with multiselect listbox
Miscellaneous
Thread ID:
00208929
Message ID:
00208929
Views:
56
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
Map
View

Click here to load this message in the networking platform