General information
Category:
Forms & Form designer
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only