Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problems with comboboxes
Message
From
13/04/2000 09:44:05
 
 
To
13/04/2000 09:14:22
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00359211
Message ID:
00359236
Views:
15
>I have a combo box on my form and I've set it to be a list box. I'm trying to have it display one of the options in the list, but I can't seem to figure out how. Any help would be appreciated.
>
>Thanks

By "list box" I'm assuming "drop-down list". Several factors here including RowSource, RowSourceType, BoundColumn, BoundTo settings. But generally you have to set the Value property of the combo to the desired value to get it to display programmatically. E.g.:

THISFORM.MyCombo.VALUE = "Bill"

Bill
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.
Previous
Reply
Map
View

Click here to load this message in the networking platform