Information générale
Catégorie:
Gestionnaire d'écran & Écrans
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement