Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ALT key and MouseDown Event
Message
De
01/08/2002 09:11:48
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:
00684928
Vues:
23
Hi Caroline,

I gave your suggestion a try but it didn't help me. It appears that the menu item is highlighted after I release the ALT key. So in the MouseDown() event, all code runs correctly until I release the ALT key. I put CLEAR TYPEAHEAD as the last command in the MouseDown() event but the menu item still highlights (and gets focus).

As an aside, I checked into the VFP6.0 help for a form's KeyPress() Event. The event takes two parameters - nKeyCode, nShiftAltCtrl. The second parameter, according to the help is supposed to indicate the modifier keys SHIFT, CTRL and ALT. In the very last sentence, it says, "The KeyPress event does not occur for any combination of keys with the ALT key." It does not say this anywhere in the help for the MouseDown() event!

Thanks for trying to help.

Mike.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform