Information générale
Catégorie:
Gestionnaire d'écran & Écrans
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
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement