>HI Mark,
>
>>Did that in VFP 6 SP3. I don't see a problem. What kind of aberrant behaviour do you get? My form does get maximized, but Text1 does not get focus because I commented it out.
>
>If you run it without commenting out lines, the form won't get maximized. If you comment out the SetFocus, it will, right?
Ahh! If the SetFocus is last, the form does not maximize. If the WindowState command is last, the window maximizes. I see same behaviour in the SHOW and INIT.
Bug.
Mark McCasland
Midlothian, TX USA