Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Selecting a list item
Message
From
18/03/1998 17:10:07
Edward Crawford
City Facilities Management
Glasgow, United Kingdom
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Selecting a list item
Miscellaneous
Thread ID:
00085495
Message ID:
00085495
Views:
67
I have a pull douwn list box that I set the RowSourceType to 0 and set the list items by AddListItem()

AddListItem("Hawaii", 2)
AddListItem("Alaska", 3)
AddListItem("Pacific", 4)
AddListItem("Mountain", 5) etc.

I set the ControlSource to a poperty (.timeZone)

If I change the value of .timeZone to,say, 4, the List box will display Mountain (the fourth item), not Pacific (ListItemId). How make the ControlSource operate on the ListItemId and not the ListItemIndex?

Ed
Next
Reply
Map
View

Click here to load this message in the networking platform