Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Shortcut menu
Message
From
05/04/2001 19:01:41
 
 
To
04/04/2001 08:01:08
General information
Forum:
Visual FoxPro
Category:
Menus & Menu designer
Title:
Miscellaneous
Thread ID:
00491767
Message ID:
00492586
Views:
19
>How can I get a shortcut menu when no forms are displayed, just the normal menu (wait state). I want to right click anywhere on the screen and a shortcut menu to appear. I know how to do it when forms are displayed.
>
>Thanks

Here's a neat trick I learned to allow you to put code into any _SCREEN event:
* screenmethods.prg
*
* Use the following to modify _SCREEN methods:
*_SCREEN.NewObject("oSH","ScreenHook","screenmethods.prg")
*
DEFINE CLASS ScreenHook AS custom
oscr = _SCREEN
PROCEDURE oscr.RightClick
  DO yourmenu.mpr
ENDPROC
ENDDEFINE
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform