Jump to content

Open MainForm Maximized at the creation time


mmx110

Recommended Posts

Hi Hayri! But there is Maximization effect in this mode too

all objects shows at its normal state first, then maximized and aligned!

I want to user not see this period and at onshow its aligned correctly and fitted to browser screen...

Thanks and Regards!

Link to comment
Share on other sites

Hy,

 

i put all Content of MainForm in one UniContainerpanel1 .. visible false...

 

procedure TMainForm.UniFormScreenResize(Sender: TObject; AWidth,
  AHeight: Integer);
begin
uniTimer3.Enabled:=true; //sende_resizing;
end;
 
Timer3 --> Intervall 500 // RunOnce ...
 
procedure TMainForm.UniTimer3Timer(Sender: TObject);
begin


UniContainerPanel1.top:=r_oben;
UniContainerPanel1.left:=r_links;
UniContainerPanel1.Width:=Width-(r_links+r_rechts);
UniContainerPanel1.Height:=Height-(r_oben+r_unten);
UniContainerPanel1.Visible:=true;


end;
HTH
Erich
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...