Solved

Splitter below GroupBox?

Posted on 2006-10-30
2
294 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
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:knowlton
ID: 17850136
Thanks!
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Populating an array of locale_time_info 8 46
VB.Net - Windows UserName index and length error 4 32
RLDC Reporting in Visual studio 11 16
location of a form 2 14
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…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

809 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