Jump to content

HowTo : Put forms in the center of the uniCointainerPanel


mierlp

Recommended Posts

Hi

 

I have a mainform,- see attachment, where in the right is the uniContainerPanel.

 

How can i get all opened forms in the center of the uniContainerPanel ?

Now all forms are placed in the center of the mainform.

 

 

Regards Peter

post-510-0-70740000-1453673393_thumb.png

Link to comment
Share on other sites

Hi Peter;

 

After set ContainerPanel's AlignmentControl = "UniAlignmentClient" and Layout = "Fit" write this code whenever call your form

  UniForm1.Parent := UniPanel1;
  UniForm1.Show();

For more information please check FormWithParent demos.

Link to comment
Share on other sites

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...