473,395 Members | 1,437 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Stupid problem with Splitters and Docking

This is a stupid problem to have, but here goes.

I wanted to make like an Outlook-looking app. Multiple splitters, panes,
etc.
If I ...
1. Take a Form, add a TreeView, dock it Left.
2. Add a Splitter, dock it Left.
3. Add a ListView, dock it Full

....I have no problems, but If I...
1. Take a Form, add a Panel, dock it Left.
2. Add a splitter, dock it Left.
3. Add a secon Panel, dock it Full

I've got problems. :S
The only difference between the two procedures described above is using
Panels instead of TreeViews and ListViews.
The problem is that the second panel fills to the size of the entire Form,
not to the size of the splitter. The second panel seems to ignore the
splitter. The splitter seems to size the first panel correctly. I added
buttons to the second panel at (0,0) and they show up on the left side of
the form, rather than the immediate right of the splitter. I've brought the
second panel to the front and sent it to the back just to see the
difference.

Can anyone tell me why this is?
I feel like a dunce, not being able to figure this out becuase I've been
doing VB.Net for years and it's frustrating to be stuck on something so
stupid.

Any help is appreciated.
Thanx in advance,

WALDO
Nov 21 '05 #1
3 1344
Also, if a control that you have docked is hidden behind another
control try selecting it in the dropdown at the right and then choose
Bring To Front from the Alignment menu. Do this for any controls that
are not docked properly. This will often correct the problem.

Nov 21 '05 #2
One more thing... Not only Bring to Front or Send it to Back, the order
that the controls are stacked (from bottom up) states the order that
they will be docked.

Regards,

Paulo

Nov 21 '05 #3
That was it. The order in which I put them on the form was screwing with my
docking.

"MstrControl" <ms*********@yahoo.com> wrote in message
news:11**********************@z14g2000cwz.googlegr oups.com...
One more thing... Not only Bring to Front or Send it to Back, the order
that the controls are stacked (from bottom up) states the order that
they will be docked.

Regards,

Paulo

Nov 21 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: ka | last post by:
I'm using Corwnwood.Magic library for docking in my application. My application to let the users to create their screen look to show some particular data. I treid to dock my things in the way,...
5
by: Derrick | last post by:
I have a form with 3 sections in a vertical arrangement. It's starting to get a little tall, so I want the user to be able to resize the form (using the border), and have the middle section...
2
by: Gary Shell | last post by:
We are playing around with using the splitter on a form and want to do the following: 1. On the left side of the form will be a tree view. 2. To the right of that tree view would be a splitter....
25
by: Dennis | last post by:
Has anyone really gotten the Docking and Splitter Bars to work for anyting but the simplest application for two controls and one splitter bar filling the whole form? If so, can you enlighten my on...
1
by: Joe | last post by:
I'm creating a C# application, and want to use docking windows. However, I want the docking windows to look like the docking windows withing VS2005, with a title bar, close button, etc... When...
2
by: Matt Brown - identify | last post by:
Hello, I've spent the better part of the day going over code and thinking and have come up with the following docking method that works perfectly. At this point, my brain is about to explode...
0
by: nhc1987 | last post by:
Do anyone have the Docking control (docking sidebar, docking panel, ..) library with Vista style ? I use a properties grid and I want to dock it on the right of main form. Now, I have some really....
2
by: =?Utf-8?B?aGVyYmVydA==?= | last post by:
I need to develop a "docking station" simulator for Apple IPod in .NET. The PC acting as a development station connects to the IPod docking station using a parallel port. Where is this software...
2
by: =?Utf-8?B?S2lk?= | last post by:
Hi Is there some good sample that I can write a window app like Visual Studio which have many area view windows docking in the left and right and bottom ? Thank for your teaching .
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.