Horizontal splitter?

S

Susan Baker

I am designing a GUI and I need to split the screen into two parts (one
on top of the other) - i.e. I need a "horizontal" splitter. The splitter
control that comes out of the box with VC71 appears to cater for only
vertical splitting (i.e. screens side by side). Anyone knows how I may
split a screen into two resizable parts - one on top of the other?
 
M

Marc Gravell

As long as you dock top/bottom, it should orientate itself without you
needing to do anything.

Marc
 
S

Stoitcho Goutsev \(100\) [C# MVP]

I depends on the Dock property of the splitter. If the splitter is docked
top or bottom it appears horizontal if it is docked left or right -
vertical.

Chage the docking style.

See my post in the following thread for info on how the splitter works.
 
R

Roland

Hi Susan

The solution I can provide you is unfortunatly only a cold comfort:
In Visual Studio 2005 there is a Split-Container-Control where you
could set the 'orientation' property to 'horizontal'.

I tried out the older version of VS-Studio, but I didn't find any
visual and handy solution.
I would suggest to use a tab control and to distribute your controls on
the tabs.

You can of course try to program the functionality yourself - but I
guess it's not exactly what you want.
Another way would be to search for a third party control on the net.

Hope this helps
Roland
 
R

Roland

Hi Susan

The solution I can provide you is unfortunatly only a cold comfort:
In Visual Studio 2005 there is a Split-Container-Control where you
could set the 'orientation' property to 'horizontal'.

I tried out the older version of VS-Studio, but I didn't find any
visual and handy solution.
I would suggest to use a tab control and to distribute your controls on
the tabs.

You can of course try to program the functionality yourself - but I
guess it's not exactly what you want.
Another way would be to search for a third party control on the net.

Hope this helps
Roland
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top