verisu Posted May 18, 2011 Posted May 18, 2011 Can somebody help me? Sorry for this meaningless question, but how can i determine the center of the iexplorer windows, if the the server is in a mfPage mode? I want to place a panel in the center of the iexplorer. Thank you for your answer. Quote
Administrators Farshad Mohajeri Posted May 18, 2011 Administrators Posted May 18, 2011 Can somebody help me? Sorry for this meaningless question, but how can i determine the center of the iexplorer windows, if the the server is in a mfPage mode? I want to place a panel in the center of the iexplorer. Thank you for your answer. See ScreenSize Demo: procedure TMainForm.UniFormScreenResize(Sender: TObject; AWidth, AHeight: Integer); begin UniLabel1.Caption:='Screen Size is = '+Format('%d x %d', [AWidth, AHeight]); end; Screen center = (Width / 2 , Height / 2) Quote
Administrators Farshad Mohajeri Posted May 18, 2011 Administrators Posted May 18, 2011 Easier method: Put a UniPanel in center of your Form. In Object inspector Set Panel.Anchors to [ ]. Regardless of screen size Panel will always remain in the center. 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.