Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem handling shortcut keys
Message
De
16/08/2002 05:38:06
 
 
À
16/08/2002 04:27:18
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00690268
Message ID:
00690275
Vues:
12
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform