Mike Sue-Ping
Cambridge, Ontario, Canada
Information générale
Catégorie:
Codage, syntaxe et commandes
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement