Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to drop down a combobox when user types '{Enter}'
Message
From
29/11/2004 23:04:14
James Blackburn
Qualty Design Systems, Inc.
Kuna, Idaho, United States
 
 
To
29/11/2004 22:57:22
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00965600
Message ID:
00965601
Views:
10
Alejandro,

I have not tried this but it should work.
Keypress event
LPARAMETERS nKeyCode, nShiftAltCtrl
if nKeyCode = 13
  keyboard '{f4}'
endif 
UPDATE
Not sure what happens if enter is pressed to select from list. You may have to have a flag so keyboard won't happen when the list is showing.

>How do you open a combobox programmatically when user types {Enter} while in it?
>
>TIA,
>
>Alex
Previous
Reply
Map
View

Click here to load this message in the networking platform