473,385 Members | 1,324 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,385 software developers and data experts.

Docking Issue

Hello,

I can't figure this out - I coded 2 panels and set one to be docked Left and
the other to be docked Fill. However, everytime, no matter what I do, the
docked Fill panel always ends up "behind" the Left docked panel. This is
all done at runtime. There are no tab indexes defined - I've deleted the
panel and recreated, but no luck - I need the Left panel to stay in place
and the fill to panel to start to the right of the Left and when the user
expands the application, the Fill panel expands, but the Left panel does not
adjust in size.

I hope this makes sense....can someone please help.

Thanx,
Doug
Nov 15 '05 #1
3 1266
Check the order they added to the Controls

"Doug" <dkhandler@_nospam_hotmail.com> wrote in message
news:eb**************@TK2MSFTNGP12.phx.gbl...
Hello,

I can't figure this out - I coded 2 panels and set one to be docked Left and the other to be docked Fill. However, everytime, no matter what I do, the
docked Fill panel always ends up "behind" the Left docked panel. This is
all done at runtime. There are no tab indexes defined - I've deleted the
panel and recreated, but no luck - I need the Left panel to stay in place
and the fill to panel to start to the right of the Left and when the user
expands the application, the Fill panel expands, but the Left panel does not adjust in size.

I hope this makes sense....can someone please help.

Thanx,
Doug

Nov 15 '05 #2
Change the adding orders of the controls.

this.Controls.Add(panel1); //left dockstyle
this.Controls.Add(panel2); //fill dockstyle

change order as below

this.Controls.Add(panel2);
this.Controls.Add(panel1);

-----Original Message-----
Hello,

I can't figure this out - I coded 2 panels and set one to be docked Left andthe other to be docked Fill. However, everytime, no matter what I do, thedocked Fill panel always ends up "behind" the Left docked panel. This isall done at runtime. There are no tab indexes defined - I've deleted thepanel and recreated, but no luck - I need the Left panel to stay in placeand the fill to panel to start to the right of the Left and when the userexpands the application, the Fill panel expands, but the Left panel does notadjust in size.

I hope this makes sense....can someone please help.

Thanx,
Doug
.

Nov 15 '05 #3
btw you can edit this manually or you can use "send to
front/ back" in v designer

-----Original Message-----
Change the adding orders of the controls.

this.Controls.Add(panel1); //left dockstyle
this.Controls.Add(panel2); //fill dockstyle

change order as below

this.Controls.Add(panel2);
this.Controls.Add(panel1);

-----Original Message-----
Hello,

I can't figure this out - I coded 2 panels and set one
tobe docked Left and
the other to be docked Fill. However, everytime, nomatter what I do, the
docked Fill panel always ends up "behind" the Left

dockedpanel. This is
all done at runtime. There are no tab indexes defined -
I've deleted the
panel and recreated, but no luck - I need the Left
panelto stay in place
and the fill to panel to start to the right of the Leftand when the user
expands the application, the Fill panel expands, but

theLeft panel does not
adjust in size.

I hope this makes sense....can someone please help.

Thanx,
Doug
.

.

Nov 15 '05 #4

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

Similar topics

6
by: Lecture Snoddddgrass | last post by:
Greetings, Can anyone recommend a good 3rd party docking windows component for WinForms? I'm looking for something that allows windows to not only be docked but to "popout", much like the...
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,...
1
by: JDeats | last post by:
I have a WinForm that is set as an MDIContainer, I have an Panel on this form that has it's docking property set to "Top". When a spawn an MDI childform inside my parent all is well untill I...
7
by: Chris Dunaway | last post by:
Where/How does VS determing docking order? I created a form with a panel docked to the top and a tab control with fill docking. I had added some tabs and place some controls, etc., and decided...
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...
4
by: Enrique | last post by:
hi all, i'd like to know how i could do a docking menu and docking toolbar. i know it's not so easy y VS .NET 2002 and 2003. anything will help me: links, code, articles..... thanks a...
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...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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
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?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

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.