[.net] How to create 4 way splitter? ( 4 views )
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.
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.
However i had to add a docked 'Panel' to each corner so i could add multiple Objects.
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.
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.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement