Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can I programmatically click an item in a combobox?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00353058
Message ID:
00353225
Views:
14
Hi Steve.

>>I got it working using Nadya's solution.

THISFORM.myCombo.ListIndex = 1
THISFORM.myCombo.DisplayValue = "1" <<

Is the data type of the field the combo is bound to numeric then? If so, you need to set the BoundTo property of the combo to true. Then it will work without the second line of code.

Marcia
Previous
Reply
Map
View

Click here to load this message in the networking platform