Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Any way to force a combobox to dropdown?
Message
From
23/03/2007 10:43:15
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01207644
Message ID:
01207675
Views:
28
>>>I've got a special quickfill combobox based on the quickfill combo in "1001 Things ...". However, in our situation, no valid entries can begin with spaces. So, I'd like to make the combobox work like a dropdown list when the spacebar is pressed (i.e. opens/displays the dropdown list).
>>>
>>>I tried trapping the spacebar in the interactivechange event and then calling this.DropClick. That seemed to have no effect.
>>>
>>>Is this possible to do?
>>Gotfocus:
>>KEYBOARD   '{ALT+DNARROW}' PLAIN
>
>Guess that would work. We've tried to move away from keyboarding strokes like that.
>
>What I was actually looking for is a method to call, etc.
>
>Thanks for the input though, that would be an option!
>
>Rodd

I believe using the KEYBOARD command is the only option.
Previous
Reply
Map
View

Click here to load this message in the networking platform