[.net] How to create 4 way splitter? ( 4 views )

Started by
2 comments, last by Riviera Kid 17 years, 10 months ago
How do you create a splitter that splits the viewport into 4 views? The splitter component in VS only lets you divide the form horizontally or vertically, but not both.
Author Freeworld3Dhttp://www.freeworld3d.org
Advertisement
i used the 'TableLayoutPanel' to split my form into 4 sections.
However i had to add a docked 'Panel' to each corner so i could add multiple Objects.
--------------------------------Dr Cox: "People are ***tard coated ***tards with ***tard filling."
I just tried that but it doesn't let me resize each view during runtime. How'd you do it?
Author Freeworld3Dhttp://www.freeworld3d.org
use a 'SplitContainer' to divide it vertically. Then use a 'SplitContainer' in both sides and set the 'Orientation' property to 'Horizontal'. You should now have the desired functionality (you wont be able to resize from the center where the vertical line meets the horizontal line :( ).

You might want to change the background color of the corner panels so you can see the borders at runtime.

Also on the form there is a property 'IsMdiContainer', Mdi is Multiple Document Interface like Word/UnrealEd has. Sometimes its nice to have.

Actually, i think ill use this system now.
--------------------------------Dr Cox: "People are ***tard coated ***tards with ***tard filling."

This topic is closed to new replies.

Advertisement