Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Function keys and the command buttons
Message
 
To
27/07/1998 18:28:57
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00121660
Message ID:
00121917
Views:
21
>> I am toying with the idea of using the menu bar and adding and removing hot key menu selections as I load and unload different forms and menus. It would be a lot of work to get started though. Any ideas out there???
>
>
>Menus is the way I suggested...but it really isn't that difficult.
>
>In the form Activate:
>PUSH MENU _MSYSMENU
>DO MyMenu.Mpr
>
>Then in the Deactivate:
>POP MENU _MSYSMENU

Thanks for the help. We decided to go back to using the form keypress event. There are places where we have as many as 10 or more forms open in a chain and having everything in the form really helps keep it simple. The only place I have had real problems with the keypress event is when trying to trap the ESC key. The ESC keypress is still there when you come back to the form and if you have a command button with cancel = .t. it will fire off. For that I will still have to use on key label.
John.
Beer is proof that God loves man, and wants him to be happy. - Benjamin Franklin
John J. Henn
Previous
Reply
Map
View

Click here to load this message in the networking platform