Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getting the F10 keystroke back from Windows
Message
De
15/02/2001 17:43:01
 
 
À
15/02/2001 17:36:40
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00476510
Message ID:
00476512
Vues:
20
>I am attempting to have a menu shortcut set to the F10 key. This seems to work well with most F keys - except F10. The F10 keystroke is grabbed by Windows and acts like the ALT key - it selects the left menu item of the active application. (I can do this now within Internet Explorer.) I did not know this was a "reserved" Windows key.
>
>Anyone know of a way to get the keystroke to act as a menu shortcut?
>
>Thanks in advance.

ON KEY LABEL can take control back, we use for a form exit.
ON KEY LABEL F10 DO f10exit

FUNCTION f10exit
*
* miscellaneous checks here
*
IF ...
  KEYBOARD '{ESC}'
ENDIF
The keyboard command will trigger the button that has it's .Cancel property set.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform