mmx110 Posted August 7, 2016 Posted August 7, 2016 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 Quote
Hayri ASLAN Posted August 8, 2016 Posted August 8, 2016 Go to uniservermodule and set MainFormDisplayMode:=mfPage Quote
mmx110 Posted August 8, 2016 Author Posted August 8, 2016 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! Quote
erich.wanker Posted August 9, 2016 Posted August 9, 2016 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 Quote
Administrators Farshad Mohajeri Posted August 9, 2016 Administrators Posted August 9, 2016 MainForm->WindowState->wsMaximized Quote
erich.wanker Posted August 9, 2016 Posted August 9, 2016 ..to kill the "maximized"-effect - i prefere a Timerbased solution ;-) Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.