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
2549
Can the docking of the splitter be changed?
posted

Hi all,

I have a question regarding the WinSplitter control.

If I understood the docs right the splitter collapses the panel that has the same docking as the splitter.


So a main-panel hosts the first panel docked bottom, then the splitter docked bottom and last another panel docked Fill.

In this case the panel that is docked bottom gets collapsed.

So far so good, but I am unable to change this to make the top panel gets collapsed.
Even if I undock all panels and then redock them in the right order it does not work.

The only solution I figured out was to remove the hostin panels (top, bottom) and the splitter and then start over again docking the top panel first, then the splitter (dock top) and last the panel that gets docked Fill.

Even if I undock them all, remove the splitter, move the panels out of the main panel and try over again I can not archive what I wanted, invert the collapsed panel...

Is there a solution for this problem I am missing?

any help is kindly appreciated.

best regards

Andy