General information
Category:
Forms & Form designer
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only