Solved

Splitter below GroupBox?

Posted on 2006-10-30
2
304 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

I think the Typed DataTable and Typed DataSet are very good options when working with data, but I don't like auto-generated code. First, I create an Abstract Class for my DataTables Common Code.  This class Inherits from DataTable. Also, it can …
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…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

705 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