Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
KeyPress Results
Message
De
13/03/2001 23:21:33
 
 
À
13/03/2001 09:30:04
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00484415
Message ID:
00484727
Vues:
9
>I created a quick form with a text box to capture keystrokes and report the nKeyCode and nShiftAltCtrl values. I know InKey() Help reports values but I'm not always sure it shows all possibilities. I was looking for some combinations I want to use.
>
>I note that when pressing the '+' and '-' keys on the keypad ( with NumLock on ), nKeyCode is 43 and 45 for the '+' and '-' respectively ( nShiftAltCtrl 0 ). Pressing 'Shift +' and 'Shift -' on the keypad gives same nKeyCodes with nShiftAltCtrl of 1 for both. So far so good. But pressing 'Ctrl +' and 'Ctrl -' on the keypad gives no response as if the KeyPress event is not fired. I expected the same nKeyCode values with a nShiftAltCtrl of 2. Why would this be? Are these special key combinations? Is this expected behavior, a bug, feature :-) or am I missing something?
>
>Thanks,
>Bill

Just a SWAG...

Are you using, or have you ever installed anything like Accessibility Options or MouseKeys?
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform