Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ALT key and MouseDown Event
Message
 
À
31/07/2002 18:10:54
Mike Sue-Ping
Cambridge, Ontario, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00684778
Message ID:
00684869
Vues:
19
>Hello,
>
>I have code in the MouseDown() event of a form that reacts to the case if the ALT key is pressed when a mouse button is simultaneously pressed. This is done via the the second parameter (nShift) of the event that is set to 4 if ALT is pressed.
>
>My code works as expected except for the following. After releasing the ALT key, the first option on the main menu bar becomes highlighted. I believe that this is standard Windows behavior for the ALT key. Unfortunately, I don't want this behavior. Is there a way to not have anything happen after the ALT key is released? I am already using the CTRL and SHIFT key options and am now only left with the ALT key.
>
>TIA to all who reply.
>
>Mike.
Mike,

Not sure if this will help but have you tried clearing the keyboard buffer?
Clear TYPEAHEAD
Caroline
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform