Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ListBoxes and Mover bars
Message
De
18/07/1999 12:05:35
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00242832
Message ID:
00242874
Vues:
26
>>Am I on the right track?
>
>Yes you are. Each item in the list has an index number and an item number. The index number changes when the item is moved, but the itemnumber remains with that item all the time and doesn't change. The List collection use the Index number to identify the item, while the ListItem collection uses the ItemNumber to do it.

Thanks Jim ... I was kind of thinking that this was the way it worked, but I wasn't 100% sure. But now that I see it written in black-and-white it makes sense. I had tried looking up the answer for this question in various books, but couldn't find it explained quite so succinctly as you just did. (I have one of your books too, but I guess I missed your list discussion --- hey, it was 2:00am, I was tired < g >).

-Bonnie
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform