Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
635
Can you choose which DockAreaPane to increase in size when user resizes a form?
posted

Hi

We have DockAreaPanes on a form, with a grid at the top and other forms at the bottom showing data from the current grid's row in text editors.

When we increase the height of the form, it increases the height of the bottom DockAreaPane. I would like it to increase the top one instead to show more rows.

Is there a setting that will do this?

Thanks

John

Parents
No Data
Reply
  • 69832
    Offline posted

    The short answer is no, there is no one-touch setting that gets that behavior, at least not that I was able to find.

    I attached a sample that demonstrates how to get this behavior with a few property settings, most notably by bottom-docking all the panes, and by docking the pane to be resized last. I didn't delve too deeply into our code but it looks like the layout logic designates the last pane as the one that picks up the slack, and since both panes are bottom-docked, it starts with the bottom-most pane and goes up, rather than from top to bottom.

    Forum_082415.zip
Children