Jump to content

Recommended Posts

Posted

Hi forum!

how to makes MainForm Maximized at the creation time

I want it opens fitted to screen width at the first time and not showing and do maximization event

Thanks and Regards

Posted

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!

Posted

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...