Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem handling shortcut keys
Message
From
16/08/2002 05:38:06
 
 
To
16/08/2002 04:27:18
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00690268
Message ID:
00690275
Views:
13
This message has been marked as a message which has helped to the initial question of the thread.
hi, Chung Iu

wirte the Keyword "NoDefault" after the command where you call the command button.

for exmples

if nKeyCode = 14 && Number reture when you press CTRL+N
thisform.cmdbutton.click()
nodefault && Add this Command.
endif

Perhapes this solution can solve you problem.

regards,
Mobeen.

>Hi, all
>I have a problem handling shortcut keys in forms. I assigned CTRL+N to a button.click() in a form by coding Keypress event. Each time I press CTRL+N it called the button.click() correctly but leave a special character in the input fields that has the focus. How can I get rid of that character? I don't want to use on key label after all.
>TIA
Previous
Reply
Map
View

Click here to load this message in the networking platform