>>>>Does anyone know why when I create my .exe the form is nolonger screen size, I have to maximize the intial screen, and then every form that is run is nolonger centered. I have my options set for 640 x 480.
>>>>
>>>>Holly Clawson
>>>
>>>In the form properties, make sure the WindowState=0 (for normal).
>>>
>>>In the form's Activate method: ThisForm.WindowState=0
>>>In the form's Init method: ThisForm.AutoCenter=.t.
>>
>>I have all of those options set already, do you have any other ideas. The forms are centering within the intial window with the menu, but that intial window is not full screen size.
>>
>>thanks
>>
>>Holly Clawson
>
>vfp defaults to opening a window about 3/4 of screen size. several ideas have been suggested here -- easiest one is
>
>_screen.windowstate = 0 && maximized
>
>in your main program before opening any forms.
jorge is right, windowstate should be 2, not 0.