Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help populating a listbox
Message
From
23/10/2002 21:11:36
Mike Sue-Ping
Cambridge, Ontario, Canada
 
 
To
23/10/2002 21:01:40
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00714319
Message ID:
00714623
Views:
21
Thanks for the reply and tips Joel. I'll give them a try.

Mike.

>I had the same problem with performance on my mover form when using the AddItem method. It took more code, but I found that if I loaded the items into an array and then used the array as the rowsource for the listbox, the performance was great. To accomplish deleting elements from one listbox and adding them to the other, I used the listbox's listitemid as my array index and manipulated the arrays for each listbox. To keep things neat, I add a property to hold the array on to each listbox. You'll need to sort the arrays in code rather than using the listbox's sort property. Hope this helps.
>
>Regards.
>
>Joel
Previous
Reply
Map
View

Click here to load this message in the networking platform