Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ALT+Key Not Captured By KeyPress?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00511073
Message ID:
00511118
Vues:
20
>Renoir,
>
>Already done that. KeyPress does not Support ALT key combinations. Direct from the help file:
>
>The KeyPress event does not occur for any combination of keys with the ALT key
>
>Why, then, does it have nShiftALTCtrl? Why bother supporting ALT in that parameter, if it doesn't ever use it? Doesn't make much sense to me. I was asking if there is a way to capture the ALT key combinations, and I'm converting it FROM using OKLs, so I'd rather not use one of those to detect the ALT keys (although I will if I have to). Any suggestions?

You could have a menu option that calls the proper code. Set the hotkey to Alt+F5. This also provides a way to fire the code with mouse, per Windows guidelines.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform