Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ListBoxes and Mover bars
Message
From
18/07/1999 12:05:35
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00242832
Message ID:
00242874
Views:
20
>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform