Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
_screen.windowstate=2 is not maximized?
Message
 
 
To
12/01/2010 11:20:44
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
01443417
Message ID:
01443424
Views:
34
>>>Hi all,
>>>So I thought that putting _screen.windowstate=2 in the main program will force the application (exe) to start maximized. However, if the last state of the application was not maximized before it was closed - the application starts in WindowState = normal.
>>>
>>>I read a technical document about this behavior but can't find it. Is there a way to force the application to always start maximized?
>>
>>There is something remembering last state and restoring to it in your application (e.g. the code fires after you set the WindowState). Try putting some break after your statement and verify, if it's indeed maximized.
>
>Naomi, Thank you dear. There was indeed a code that checks for _screen.WindowState=0 and "reverted" the maximized screen to normal.

You're welcome.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform