Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
_screen.windowstate=2 is not maximized?
Message
 
 
À
12/01/2010 11:02:23
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01443417
Message ID:
01443419
Vues:
83
This message has been marked as the solution to the initial question of the thread.
>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.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform