Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Listbox
Message
 
À
20/01/1999 21:10:06
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00177457
Message ID:
00178837
Vues:
36
>Jim,
>
>Adding to yours, my experience (VFP5) was that ItemID stays behind even after a RemoveItem *and* that a subsequent AddListItem puts any item with the same ItemID into the "old" slot regardless, overriding whatever was stated in the parameters.
>
>It was then that I learned to use the List property for all list manipulations, because my need for ItemID is nil (at least to date).
>
>Cheers,
>
>Jim N
Jim,

You are correct. If you should decide to use AddListItem again, just use the NextItemID property, increment it by 1 and you arte guaranteed a new ItemID. It is irksome that the property named NEXTitemID holds the last item ID that was used.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform