lcMyMenu = '' >>>DO Main.mpr WITH THISFORM, lcMyMenu >>>WITH oApp && oApp is application object >>> .MenuName = lcMyMenu && Store menu name for release later >>> .ConfigureMenu() && Sets up Cut, Copy and Paste functionality >>>ENDWITH >>>SET SYSMENU OFF && These 2 statements are required after instantiating >>>SET SYSMENU AUTOMATIC && the top-level menu to get the hotkeys to work >>>>>>
RELEASE POPUPS Edit EXTENDED >>>RELEASE MENUS (oApp.MenuName) EXTENDED >>>>Well, tried your suggestions and no go. NULLed the oApp property, still errs, used a form prop instead of oApp, still errs, tried removing the SET SYSMENU OFF and SET SYSMENU AUTOMATIC statements in the form Init, still errs, even tried removing the code that sets up the menu Edit functions, still errs. The key seems to be that if I issue CLEAR PROG, it then runs ok, but I don't know what it's changing. I must be missing something ... but I'm stumped. Any other thoughts? :-)