Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Selecting an item in list box in code
Message
 
To
28/11/1998 12:29:21
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00162137
Message ID:
00162139
Views:
23
Jim,

You can simply assign a value to the list's value property.

LOCAL loList

loList.Value = loList.List(loList.ListIndex)

Be careful if the list is data bound with a controlsource though as this will change the value of the controlsource.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform