Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Hidden yet active Menus
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00136049
Message ID:
00136257
Views:
21
Just a thought... how about creating a "HotKey" object that your form class keypress events pass the value of all, or a certain range of keystroke values to?

>Hi all,
>
>I've run out of ideas for menus...
>
>I'm using ActiveBars for my menus, but I still run hidden menus
>in order to provide hotkey support for the application since VFP
>cannot pass hotkeys to the ActiveX control.
>
>I do the following:
>
>*** Main Menu - Hide and use ActiveBar instead
>THIS.cMenuName = SYS(2015)
>DO WWHELP.MPR  WITH THIS, THIS.cMenuName
>DEACTIVATE MENU (THIS.cMenuName)
>
>
>which leaves the menu live but invisible. So far so good.
>
>Unfortunately, VFP 5 and 6 have a bug with this and Top level forms.
>When you now bring up a modal form, then RELEASE the form, the menu
>pops up and becomes visible. I can DEACTIVATE the menu again at that
>point, but you can't stop the screen from jumping while all this
>is happening.
>
>Anybody have any ideas as to how to keep menus hidden permanently?
>How about any other ideas for handling hot keys like a menu with
>the ability to enable and disable them?
>
>Any help appreciated...
kenweber
GCom2 Solutions
Microsoft Certified Professional

Previous
Next
Reply
Map
View

Click here to load this message in the networking platform