Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Help With MouseDown Event
Message
De
07/11/2001 10:17:51
Mike Sue-Ping
Cambridge, Ontario, Canada
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00578488
Message ID:
00578505
Vues:
38
Gerald,

I have already used the Ctrl and Shift keys for other reasons. I have no other choice but to use Alt.

If, as you say, the Alt key was always supposed to open the first menu item, then why did MS make it trappable in the Mousedown event? Did they overlook this issue?

>>Hi All,
>>
>>I have a form in which I put code in the MouseDown event to trap if the Alt key is pressed. This native event accepts a parameter called nShift and contains a value of 4 if the Alt key is pressed.
>>
>>It works. The "problem" is that when the event is exited, VFP interprets the Alt key press as a trigger to activate the main menu and my first menu option is highlighted. How can I prevent this from happening?
>>
>>TIA.
>
>Alt key alone was always suppose to open the first menu item.
>
>I suggest you to use ctrl or shift key to combine with a mouse click.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform