Hi guys
When I add an UltraChart to my form which is an mdi child form, the UltraChart screws up the layout of my form. WHen I delete the chart, everything is back to normal.
How can I solve this problem?
Hello Pedro,
You might want to also look into using the Anchor properties of the panels and controls. The Anchor properties ensure that the distance between the edge of the control and the edge of the form stays the same when the form is resized.
Hi Dave
Thanks for the information, but that is not what I want to do with my layout.
I now try to adjust the size of everything manually so that it fits the mdi child form, but this is not a great way of working...
Thanks anyway
Thank you for the screenshots. I'm not exactly sure why the UltraChart is causing the layout of your form to change, but you might be able to resolve the issue by setting the red panel's Dock property to Top, the green panel's Dock property to Bottom, and the UltraChart's Dock property to Fill.
When I simply add an UltraChart to the form the screensize seems to change as you can see in screenshot 2 (panels go out of the screen)
Hello Dave
I created a new WinForm as MDI child with two layout panels to demonstrate what happens.
As you can see in the attached screenshots everything fits perfect in my MDI child form.