Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
WindowState = 2 (maximized)
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00856927
Message ID:
00857393
Views:
23
Add the following to the form.init and see if it helps:

_screen.left=-1000
* do what you need
_screen.left=0

Hope you got the idea.

>Yes I've resorted to using THISFORM.WindowState=2 in the Init() event that includes calling the THISFORM.Resize() event.
>
>Now when I open the form it displays first in the size used in design mode and then it maximizes. I hate this effect but for now it'll do.
>
>>If I recall it correctly, the form should be visible at the moment to accept it. So try to place (thisform.windowstate=2) into init or activate events
>>
>>
>>>I though this would be easy but how can I make a form open maximized? I the form's WindowState is set to 2 (maximized) but this doesn't work anymore for some reason. I know it used to open maximized but not now. What's changed?
Previous
Reply
Map
View

Click here to load this message in the networking platform