mierlp Posted March 2, 2013 Posted March 2, 2013 Hi, Is there a way to position a panel (horizontal and vertical) on the center of the screen. I can'nt get by information panel (see attachment with red square) centered. Settings ServerModule.MainFormDisplayMode = mfPage MainForm.WindowsState = wsMaximized BorderStyle = bsSingle Panel.Allign = None Panel.Alignment = taCenter Quote
AlbertoVesx Posted March 2, 2013 Posted March 2, 2013 try to put the panel in the center in design time and then set all anchors to false. Quote
Administrators Farshad Mohajeri Posted March 2, 2013 Administrators Posted March 2, 2013 Anchors = [] Quote
Amaury Posted August 2, 2013 Posted August 2, 2013 Another Way: unipanel1.left := (uniform1.with div 2) - (unipanel.with div 2); unipanel1.top := (uniform1.heigth div 2) - (unipanel.heigth div 2); 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.