Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
WindowState = 2 (maximized)
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00856927
Message ID:
00857393
Vues:
21
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?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform