473,756 Members | 1,818 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1280
Check the order they added to the Controls

"Doug" <dkhandler@_nos pam_hotmail.com > wrote in message
news:eb******** ******@TK2MSFTN GP12.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.A dd(panel1); //left dockstyle
this.Controls.A dd(panel2); //fill dockstyle

change order as below

this.Controls.A dd(panel2);
this.Controls.A dd(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
2965
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 Solution Explorer or Toolbox in Visual Studio.NET. For my last project, I used the SyncFusion component for docking windows, but my experience is that SyncFusion is buggy. I'd prefer to use a different vendor for this project. Any advice? Thanks,
0
3134
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, Left Side: ToolBox Middle: WorkPanel Right: Package Explorer + PropertyWindow WorkToolBox, Package Explore, PrepertyWindow : derived from Content
1
4003
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 maximize the MDI child window, when I do this the title bar (with max, min buttons, etc..) for the child appears above my docked Panel. The desired effect is for the MDI child window to maximize with its title bar under the the docked panel on the...
7
3118
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 to add a status bar to the main form. I add the status bar and docked it to the bottom, but the tabControl when docked as filled, fills *behind* the status bar.
25
5334
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 HOW! I even tried creating background panels and docking them with the controls on the panels but the docking order seems to be random! Another useless control from Microsoft I think! -- Dennis in Houston
4
5010
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 lot for your responses and i wish you a merry christmas :-)
1
2036
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 the user clicks and drags the docking window, it'll un-dock, and open in a tool window, and also allow the user to re-dock it elsewhere... Any ideas where I can go to look up how to accomplish this? Thanx! --
2
2633
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 and I was wondering if someone can help me figure out the calculations for right and bottom docking: note: lRelOffsetLeft and lRelOffsetTop are calculated on mousedown (location of mouse in relation to top and left of picturebox)
0
1169
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. But all of theme is XP style, I need Vista style indeed. Thanx in advance.
2
2148
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 available ? Where can I find the Ipod docking station specs? as an alternative, is a "docking station" library available in .NET? thank you very much
0
10034
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9872
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9843
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
7248
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6534
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5142
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5304
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3358
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2666
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.