• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 335
  • Last Modified:

Splitter

I put a Splitter on my form.

As soon as I did, it aligned itself against the left side of my form and goes from top to bottom.


But I want the splitter to go horizontally across the form from left to right.

How can I do this?
0
Tom Knowlton
Asked:
Tom Knowlton
  • 2
2 Solutions
 
Tom KnowltonWeb developerAuthor Commented:
I think I needed to Dock it correctly...
0
 
DEEPESHCommented:
Set orientation property to vertical
0
 
JeffvClaytonCommented:
Splitter1.Dock should be set to Bottom or Top, Then adjust the size so that it looks correct. If you can't get it thin enough you may want to check the MinimunSize Property. You also have to be careful about the order you put controls on to the form. e.g. 3 controls set to dock top, the first control (e.g. a panel) put on the form will be the topmost then the  second etc.. try playing with sendToBack if you get them in the wrong order.
0
 
JeffvClaytonCommented:
Sometimes its a lot better to to use the SplitContainer control with dock property set to fill
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now