473,609 Members | 2,103 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Docking of controls

Docking of controls

I have a ToolBar on top of my form. The property Dock is set to Top. Beneath
that I have a Panel as have the same Dock setting set to Top. The panel is
Beneath the ToolBar because the ToolBar was inserted to my form as the first
of the two controls. How can I change the position of these controls after
the design is made? I would prefer not to set the Dock property to none,
because it effects the docking of controls beneath these two controls.

In other words, is there a way to control which control is the topmost of
two controls, both with it's dock property set to top?

TIRislaa
Nov 21 '05 #1
4 1445
"Tor Inge Rislaa" <to************ @rislaa.no> schrieb:
In other words, is there a way to control which control is the topmost of
two controls, both with it's dock property set to top?


Take a look at the controls' 'BringToFront' and 'SendToBack' methods and the
according context menu entries in the Windows Forms designer.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Nov 21 '05 #2
The problem is not that the controls are covering each other. More of the
kind concerning the .top and .left possition of the control.

TIRislaa

"Herfried K. Wagner [MVP]" <hi************ ***@gmx.at> skrev i melding
news:Ot******** ******@TK2MSFTN GP10.phx.gbl...
"Tor Inge Rislaa" <to************ @rislaa.no> schrieb:
In other words, is there a way to control which control is the topmost of
two controls, both with it's dock property set to top?


Take a look at the controls' 'BringToFront' and 'SendToBack' methods and
the according context menu entries in the Windows Forms designer.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Nov 21 '05 #3
"Tor Inge Rislaa" <to************ @rislaa.no> schrieb:
The problem is not that the controls are covering each other. More of the
kind concerning the .top and .left possition of the control.


'BringToFront' and 'SendToBack' can be used to change the docking order, for
example:

A
B

=>

B
A

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Nov 21 '05 #4
Thank you!

TIRislaa

"Herfried K. Wagner [MVP]" <hi************ ***@gmx.at> skrev i melding
news:Om******** ******@TK2MSFTN GP15.phx.gbl...
"Tor Inge Rislaa" <to************ @rislaa.no> schrieb:
The problem is not that the controls are covering each other. More of the
kind concerning the .top and .left possition of the control.


'BringToFront' and 'SendToBack' can be used to change the docking order,
for example:

A
B

=>

B
A

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Nov 21 '05 #5

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

Similar topics

6
2942
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
3124
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
3
1617
by: Peter | last post by:
Hello Thanks for reviewing my question. I have a simple question. I would like to know how you can arrange the docking order? For example, when I add a toolbar and I set the dock to TOP and then add a listview and set its dock to LEFT, the listview goes to left top to left bottom and my toolbar is now smaller because it was pushed over by the listview. What I want is to have toolbar top left to top right and the listview's top starting at...
1
1378
by: juli jul | last post by:
Hello, I need to place those controls in the form in the order that I am writing: 1)ListView (aligned dock to "Fill") 2)Spliter aligned to left(dock=left). 3)TreeView aligned to left(dock=left). How can I do it? (I tried to add them first without docking in the order 1),2),3) but after doing the dock it wasn't ok)
2
2698
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. 3. To the right of that splitter would be a second tree we call a palette. 4. To the right of the palette would be another splitter. 5. To the right of that splitter would be our "content area". We are trying to find a way to allow this...
7
3114
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
5317
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
4999
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 :-)
3
3327
by: adebiasio | last post by:
Does anybody have any code samples that show me how to dock tabs around a form. I have found numerous controls out there that does the job, but I want to learn how to code it myself. Any sites that show how to code this. Thanks!
0
8035
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8509
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
8188
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,...
0
6969
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5502
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
4059
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2502
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1630
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1366
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.