>>I'm wrapping up my first VFP app that uses top-level forms. During development all my CTRL+O and other shortcuts work fine. But when my app is running as a stand-alone, the menu works fine, except the shortcuts don't do anything. Even the Alt+F won't drop the FILE menu pad down.
>>
>>All the menu items work fine when selected by mouse, and once you select a pad via mouse the normal activity returns (ALT+key combo's cause the appropriate selections to be chosen).
>>
>>I designed the menu in the Menu designer.
>>The prompt options Key label has the appropriate ALT+F, etc. and I'm calling the menu from the Init of the first form with:
>>do mymainmenu.mpr with thisform
>>
>>The menu works fine with the exception of the shortcuts during runtime.
>>
>>Any help on where to look?
>>
>>Thanks in advance!
>>
>>Mike
>
>I've found exactly the same problem. Can't use Cut/copy/paste shortcuts in a top level form even when the menu is 'top level'. Really frustrating. Please somebody help Mike!
Dave,
Found the problem, I needed to add
SET SYSMENU AUTO
My config.fpw file had
SYSMENU=off
for some reason...probably leftovers.
After this change, all is well.
Your edit command problem may be different though. Did you start with the Foxpro menu and edit it down to size? That's the easiest way I've found.
Also, the edit menu items are only available when certain types of controls have focus, like the textbox.
HTH
Mike Copeland
Genesis Group Software
mike.copeland@genesis-group.net