Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can i Speed up the Addlistitem
Message
 
À
04/10/2000 14:23:47
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00424906
Message ID:
00424927
Vues:
17
>>Hi all
>>I got to populate a listbox with Addlistitem Because I put picture on the list to.
>>It working fine if the number of item dont go over 500 after that the list take time to refresh.
>>
>
>
>
>First of all, I'm with Brett, you should be using a grid for that many items. But if you insist, you should be able to speed up the process by temprarily moving the listbox off of the screen while you add all those items.
>
>THISFORM.MyList.Left = -1000
>THISFORM.FillList()
>THISFORM.MyList.Left = 100 && or whatever

Thanx for the tips Bret and Eric

The List is use to create a .txt file And the user can select one or many informations to put in the .txt file. I use a list for the multiselect property


Ben.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform