Solved

Splitter

Posted on 2006-10-27
4
325 Views
Last Modified: 2010-04-23
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
Comment
Question by:knowlton
  • 2
4 Comments
 
LVL 5

Author Comment

by:knowlton
ID: 17822644
I think I needed to Dock it correctly...
0
 
LVL 5

Assisted Solution

by:DEEPESH
DEEPESH earned 200 total points
ID: 17824621
Set orientation property to vertical
0
 
LVL 3

Accepted Solution

by:
JeffvClayton earned 300 total points
ID: 17824984
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
 
LVL 3

Expert Comment

by:JeffvClayton
ID: 17824994
Sometimes its a lot better to to use the SplitContainer control with dock property set to fill
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

792 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question