mierlp Posted April 10, 2017 Share Posted April 10, 2017 hi I'm still struggling with the opening and positioning of a panel...and there is a differencebetween opening at the onCreateEvent of the Mainform and calling it with by code I have build : ServerModule.MainFormDisplay - mfPage FormMain as Main form and menu FormTableEvents with no borders and layout = fit .........that works When you start the application i created a FormMain.OnCreateEvent with the following code : FormTableEvents.Parent := Self; FormTableEvents.Show(); This is opening the form and places the panel directly in the center ....that works BUT When you close this form and then click on the menu button 'Tabellen' and 'Evenementen' (sorry it's dutch language)the form will be opened but the panel starts at the left site and is then centered I did try some things like : AlignmentControl = uniAlignmentServer but the the panel is also resized of the full width Layout = several options but not working for what i need Has anyone suggestions or is this a bug or do i need to build it otherways. The reason why i build it this way is you don't have borders showing of the form. Regards Peter mijnSeminar.zip Quote Link to comment Share on other sites More sharing options...
mierlp Posted April 14, 2017 Author Share Posted April 14, 2017 Nobody this same issue ? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted April 14, 2017 Share Posted April 14, 2017 Hi, Can you set UniPanel_Main->Align = [alClient] ?! Best regards. Quote Link to comment Share on other sites More sharing options...
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.