Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to Programmatically Open a ComboBox
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00049685
Message ID:
00049820
Views:
63
>>Is there an event/method to call or a property to set in order to programmatically open a combobox? I can't seem to find one. I would think calling the click() or downclick() method would work, but nothing happens.
>David,
>
>Calling the click or mousedown does NOT make a click, it just runs the code there.
>
>To open a combobox on it getting focus you can put this code in the GotFocus();
>
> DoDefault()
> KEYBOARD "{DNARROW}"
> NODEFAULT

Just out of curiosity, do you recommend placing DoDefault() in all subclassed methods? I've considered this practice lately, but don't know the pros and cons.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform