Solved

Splitter below GroupBox?

Posted on 2006-10-30
2
286 Views
Last Modified: 2008-02-01
I have a simple Windows Form I am experimenting with in order to understand Splitters.

1)  I opened a new project...Windows App.
2)  Dropped a panel on the form, set it to Anchor:  Top, Bottom, Left, Right.  
3)  Grew the panel beyond the size of the Form so that it will grow and shrink with the entire form.
4)  Set Dock to None for this Panel.
5)  Dropped a GroupBox on the Panel, grew it wider but not higher than the Form.  Set Dock to None
6)  Dropped a Splitter on the Panel, set Dock to Top.

The problem.  Splitter jumps to the top of the Panel, instead of the bottom of the GroupBox.  "Bring to Front" / "Send to Back" seem to have no effect.

Any suggestions on making this work with the controls currently on the form?
0
Comment
Question by:knowlton
2 Comments
 
LVL 85

Accepted Solution

by:
Mike Tomlinson earned 500 total points
Comment Utility
If you want the splitter "below" the GroupBox then you need to first dock another Panel to the top of your first panel.

So you would have:

Panel1
+---------------------------------+
|+-------------------------------+|
||                                       ||
||                                       ||   <------ Panel2
||                                       ||
|+-------------------------------+|
|+-------------------------------+|
||                                       ||   <------ Splitter1
|+-------------------------------+|
|+-------------------------------+|
||                                       ||
||                                       ||   <------ Panel3
||                                       ||
|+-------------------------------+|
+---------------------------------+

Where Panel2 and Splitter1 and Dock set to Top and Panel3 has Dock set to Fill.

GroupBox1 should be inside Panel2.

Is that what you want?

If not, describe in more detail the desired layout...  =)
0
 
LVL 5

Author Comment

by:knowlton
Comment Utility
Thanks!
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
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.
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

762 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

9 Experts available now in Live!

Get 1:1 Help Now