Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to use F1 to F10 as hot-key in my program?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00187035
Message ID:
00187039
Vues:
28
You can always use ON KEY LABEL F10 KEYBOARD '{ALT+X}'. ON KEY LABEL can be tricky because it will actually allow an event to occur between lines of code. However, by using it to put a keystroke in the keyboard buffer you get around this problem because the Alt-X won't be processed until your program hits a wait state anyway.

>Dear all,
>
> For example, I have an exit button in my form, I set its caption = (Alt-\>
>thanks
>Power
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform