Hi Gaylen!
As to the hotkeys and the menu working right, in the main.prg of the application, assuming you have one, SET SYSMENU OFF. Then in the Init of the Top-Level form:
oMainForm=THIS
DO mainmenu.mpr WITH THIS
SET SYSMENU AUTO
Now in the menu, anything that refers to the top-level form should refer to oMainForm. By the way, the menu should be saved with "top level form" option set to true (Check out View - > General Options while editing the menu).
>I am converting an application to a top level application. I am having trouble with two items(so far).
>
>On the main screen(top level form) which has several fields, how do I get the cursor to focus on the first field when the program starts. Right now the screen doesn't seem activated until I use the mouse. I tried setfocus() in the init method, but that didn't have any effect. I need to use the mouse and click on the first field to start entering data.
>
>The menu on the main screen comes up fine, however, the shortcut keys do not work. Alt plus the underscored letter in the menu doesn't have any effect. I can click on the menu items and they work fine.
>
>Any suggestions
>Thanks
>Gaylen
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05