>>I am building an app from scratch, no Wizards. I created a form called MENUMAIN that has menu choice buttons on it. I want that form to appear when the APP starts.
>>
>>I created a MAIN program and in it it has...
>>
>>SET DELETED ON
>>SET TALK OFF
>>
>>DO FORM MENUMAIN
>>
>>READ EVENTS
>>
>>
>>This works (surprisingly for me). The only part I really don't care for is I would prefer:
>>
>>a) the desktop to be completely blanked out and the menumain to be centered on the screen
>>
>>b) the background window that automatically appears to NOT have a menubar with FILE / EDIT / WINDOW / HELP
>>
>>c) the Microsoft Visual Foxpro to NOT be in the title bar on that background window.
>>
>>
>>How can I do this?
>
>If you create a text file called CONFIG.FPW containing:
>
>TITLE=What I want in the caption
>SYSMENU=OFF
>
>
>And in the project, include that file to be compiled into your application, it should start with no menu showing, and the caption should be what you put by TITLE= .
>
>-Lou.
Also, if you wanted to be even more tricky, you could include:
SCREEN=OFF
in the CONFIG.FPW file which will start your application with _SCREEN.Visible set to .F. Then in your main program:
SET DELETED ON
SET TALK OFF
_SCREEN.WindowState = 2
_SCREEN.Visible = .T.
DO FORM MENUMAIN
READ EVENTS
"All my life I said I wanted to be someone ...
I can see now that I should have been more specific." -Jane Wagner