Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ALT+Key Not Captured By KeyPress?
Message
De
24/05/2001 14:24:25
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00511073
Message ID:
00511100
Vues:
20
>I've got KeyPreview=.T. on a standard form. In Keypress, I'm "watching" for certain keystrokes (function keys mainly). I need to use ALT+F5 to trigger a function, but it appears they Keypress event doesn't capture the ALT key. Is there a way around this?

Scott,

In KeyPress you should develop logic to evaluate nKeyCode and nShiftAltCtrl. In your case trap for nShiftAltCtrl = 108 (numeric). If this isn't the problem, then I would check to see if there is an On Key set somewhere using the the key combination.

Regards, Renoir
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform