Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Defining hot keys usimg invisible menus
Message
 
 
To
18/04/2001 15:28:25
Elyse Pomerantz
Dynamic Data Concepts, Inc.
Brooklyn, New York, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00496930
Message ID:
00496939
Views:
8
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform