Splitter

  • Thread starter Thread starter Brian Hammer
  • Start date Start date
B

Brian Hammer

I have found the splitter control. It's a verticle
splitter and I need a horizontal one. Where can I find
this?

Thank,
Brian
 
Hi Brian

Just change the Dock property of the vertical Splitter, and set it to Top
for example. Then the Splitter will be horizontal!
 
* "Brian Hammer said:
I have found the splitter control. It's a verticle
splitter and I need a horizontal one. Where can I find
this?

Sample taken from the documentation:

\\\
Dim TreeView1 As TreeView = New TreeView()
Dim ListView1 As ListView = New ListView()
Dim Splitter1 As Splitter = New Splitter()

TreeView1.Dock = DockStyle.Top
Splitter1.Dock = DockStyle.Top
listView1.Dock = DockStyle.Fill

TreeView1.Nodes.Add("TreeView Node")
ListView1.Items.Add("ListView Item")

Me.Controls.AddRange(New Control() {ListView1, Splitter1, TreeView1})
///
 
Back
Top