>>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
>
>After your SET TALK OFF, put:
>
>CLEAR
>_SCREEN.WindowState = 2
>
>
>Then in form, menumain, set the AutoCenter = .t.
>
It'd be more transparent to put SCREEN = OFF in the CONFIG.FPW, and then to reset the screen chacteristics behind the scenes before ever making things visisble, by doing something like:
CLEAR
_SCREEN.WindowState = 2
SYSMENU = OFF
_SCREEN.CAPTION =
whatever he wants If the form mainmenu is non-modal he could DO FORM MainMenu and set it up autocentered as well before ever issuing the next command below, which would make the screen visible:
_SCREEN.Show()
and then proceding with code leading to the READ EVENTS statement which would sustain the application. If the form were modal, he'd have to make the main VFP creen visible before the DO FORM...
>>
>>b) the background window that automatically appears to NOT have a menubar with FILE / EDIT / WINDOW / HELP
>
>SET MENU OFF
It's late; I'd bet you mean SET SYSMENU OFF here...
>
>>
>>c) the Microsoft Visual Foxpro to NOT be in the title bar on that background window.
>
>
>_SCREEN.Caption = "My Application"
>
>>
>>
>>How can I do this?