Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Selecting combo value programatically
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00147553
Message ID:
00147557
Views:
27
>I would like to programatically select one of the values in a combo box. How do I do this? Any code samples appreciated.
>
>Assume that I know all the possible values in the combo box. Example: I want to specify "Apple" not item number 4.

Evan,

THISFORM.Combo.Value = "Apple"

or

THISFORM.Combo.Value = PADR("Apple",LEN(THISFORM.Combo.Value))
Previous
Reply
Map
View

Click here to load this message in the networking platform