Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
KEYPRESS - EVENT (Trapping Alt or Ctrl)
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00121615
Message ID:
00121766
Vues:
15
>
>Open the debugger Output window and watch (it's much easier to see what's happening than in WAIT WINDOWs). As keys are pressed you see the codes. Ctrl-K shows up ok, but Ctrl-A doesn't show up because the menu shortcut for select all fires off. Alt-G shows up but Alt-F won't because that's the File menu item. So it really depends on what menu you have in place at the time.
>
>>I simply placed a textbox on a form and placed code to fire a WAIT WINDOW when a key was pressed in the KEYPRESS event. If you press anything without the Alt or Ctrl, the event does fire. But, when you press the Alt or Ctrl, the event does not fire.

I think he is saying that keypress is not firing when the Alt key (not a combination of Alt)

On key label does not allow you to remap alt by itself.

Can you tell us why you want to trap the ALT key?
Rick Hodder
MCP Visual Foxpro
C#, VB.NET Developer
Independent Consultant
www.RickHodder.com
MyBlog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform