>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")*DEFINECLASS ScreenHook AScustom
oscr = _SCREENPROCEDURE oscr.RightClickDO yourmenu.mpr
ENDPROCENDDEFINE