Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to allow users to rename the item in the list box.
Message
 
 
To
13/11/2002 16:44:15
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00721778
Message ID:
00722403
Views:
13
Thanks a lot, Marcia. Good to see such detailed explanation. I haven't checked Hacker's Guide yet, though :)

Thanks again.

Do you know about some job in Ohio?...

>Hello Nadya.
>
>I re-read these descriptions again and now I'm confused. What's the difference between nIndex and nItemID and between Selected and SelectedID. Seems like there is no property, which would return selected ID...
>
>The list box has two internal collections that allow you to interate through the contents of its internal list. The first is its List collection and the second is its ListItem collection. Each of these collections has its own specific properties and methods.
>
>The List collection is accessed using the collection's index. This corresponds to its position in the list and the value changes as items are added and deleted from the list or the list is sorted. The ListItem collection is accessed using its ItemID. This is a value that is assigned to the the item when it is added to the list and is analogous to a primary key. It does not change.
>
>Use selected to reference the selected items in the list box's List collection.
>
>Use SelectedID to refer to selected items in the list box's ListItem collection.
>
>HTH
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform