Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Help populating a listbox
Message
De
23/10/2002 21:11:36
Mike Sue-Ping
Cambridge, Ontario, Canada
 
 
À
23/10/2002 21:01:40
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00714319
Message ID:
00714623
Vues:
23
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform