Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Defining hot keys usimg invisible menus
Message
 
 
À
18/04/2001 15:28:25
Elyse Pomerantz
Dynamic Data Concepts, Inc.
Brooklyn, New York, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00496930
Message ID:
00496939
Vues:
7
>Isn't there a way to define a global hot key (similar to an ON KEY LABEL) by defining a menu but never showing the menu? I want the user to be able to hit a hot key to retrieve information about the active form. This would have to work for modal forms, as well.
>
>Thanks,
>Elyse

Elyse,
The short answer is no. Accelerators (menu hot keys) are not active if the menu option is disabled or invisible. If you don't want to go with the ON KEY LABEL approach, you could set up your forms with the KeyPreview property set to .T. and in the KeyPress event of your forms, do something if the correct key is pressed.

HTH.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform