Solved

Splitter below GroupBox?

Posted on 2006-10-30
2
302 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:Tom Knowlton
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 86

Accepted Solution

by:
Mike Tomlinson earned 500 total points
ID: 17838485
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:Tom Knowlton
ID: 17850136
Thanks!
0

Featured Post

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

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

Suggested Solutions

Since .Net 2.0, Visual Basic has made it easy to create a splash screen and set it via the "Splash Screen" drop down in the Project Properties.  A splash screen set in this manner is automatically created, displayed and closed by the framework itsel…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

737 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