General information
Category:
Coding, syntax & commands
Title:
Selecting a list item
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only