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
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.
Administrators Farshad Mohajeri Posted March 2, 2013 Administrators Posted March 2, 2013 Anchors = []
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);
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now