Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Truly invisible menu option, is it possible?
Message
General information
Forum:
Visual FoxPro
Category:
Menus & Menu designer
Miscellaneous
Thread ID:
00560820
Message ID:
00560908
Views:
24
Randy,
The easyest way to do what you want is to use the keypress event on the form. Set keypreview to .T. in the form properties (under the Other tab) and in the keypress event put in code to trap for a hot key. I have a form where the user can hit CTRL+F8 to bring up a printer select form. In the form keypress event I put:
if nKeyCode = 101 && CTRL+F8
do form printsetup
endif

Much easyer than trying to use a hidden button.
Hope this helps,
John.

>I would like to make a truly invisible (or nearly so) menu option in my application. Sort of like a hot spot to the right of the last item on my main menu. Regular disabled won't do, and I can't alter the disabled appearance because some menu items may indeed need to be disabled and appear so. I thinking along the lines of the almost invisible dot that appears below the close button in the form method code editor. Activation would be by any sort of mouse click in the hot spot area, and I would want it to call a prg that is part of my app. Has anyone done anything like this before? Is it even possible? Any suggestions would be appreciated.
>
>Thanks,
> Randy
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