Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Clearing listbox
Message
 
 
À
02/02/1999 15:19:19
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00183027
Message ID:
00183147
Vues:
27
Turns out I don't need that after all. Because of some other stuff I need to do, it's actually better for me to clear the listbox and re-add them all. I'll keep that in mind, though, if I ever need to do a remove.

Thanks,

-Michelle

>Hi Michelle,
>
>Good that you've figured it out, but you may still run into a problem given that you said you need to remove item(s).
>
>At least in VFP 3 (that's when I stopped using AddItem/AddListItem), and because VFP proclaimed that it was "working as designed" in a KB article way back I suspect it is the same today, RemoveItem does *NOT* remove the nItemIDs when it removes an item, with the consequence that any subsequently added item with a previously removed nItemID will end up where the old one was, no matter what. This can be OK in some cases. In my case way back it certainly was not.
>
>Good luck,
>
>Jim N
>
>
>SNIP
>>
>>Nevremind. I looked up additem and from the "see alsos" I've managed to figure out how this thing works. :)
>>
>>-Michelle
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform