Solved

Splitter

Posted on 2006-10-27
4
317 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Well, all of us have seen the multiple EXCEL.EXE's in task manager that won't die even if you call the .close, .dispose methods. Try this method to kill any excels in memory. You can copy the kill function to create a check function and replace the …
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…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

760 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now