473,486 Members | 1,984 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Docked controls and z-order problem

Dnf
I have two panels (p1 and p2) docked on the right of the form and I want to
third panel slide from right - but the problem is I want the third panel to
be between p1 and p2 (under p2 and above p1) then it will be look like
third panel goes from under panel 2 - but because z-ordering (the docked
control with lower z goes on right) I can't make such effect because
effect is opposite to my effors - any ideas how to do this ???
------------- _____
| | | | |
| | | | |
| p1 | p2 | <-- | p3 |
| | | | |
| | | | |
------------- -----
--
Dominik Jeske
Jul 21 '05 #1
2 1240
DNF,

You can always remove your controls and add them again in the Z order
(Bottom Up) in the way you want.

me.controls.remove(controlname) and me.controls.add(controlname) for VBNet
when it is on the form itself.

Did you know that there are special languages newsgoups by instance
microsoft.public.dotnet.languages.vb

I hope this helps?

Cor
"Dnf" <dn*@wp.pl> schreef in bericht
news:13****************************@40tude.net...
I have two panels (p1 and p2) docked on the right of the form and I want to
third panel slide from right - but the problem is I want the third panel
to
be between p1 and p2 (under p2 and above p1) then it will be look like
third panel goes from under panel 2 - but because z-ordering (the docked
control with lower z goes on right) I can't make such effect because
effect is opposite to my effors - any ideas how to do this ???
------------- _____
| | | | |
| | | | |
| p1 | p2 | <-- | p3 |
| | | | |
| | | | |
------------- -----
--
Dominik Jeske

Jul 21 '05 #2
R-click the panels in the designer and use BringToFront and SendToBack
to ge the desired z-order

Sijin Joseph
http://www.indiangeek.net
http://weblogs.asp.net/sjoseph
Dnf wrote:
I have two panels (p1 and p2) docked on the right of the form and I want to
third panel slide from right - but the problem is I want the third panel to
be between p1 and p2 (under p2 and above p1) then it will be look like
third panel goes from under panel 2 - but because z-ordering (the docked
control with lower z goes on right) I can't make such effect because
effect is opposite to my effors - any ideas how to do this ???
------------- _____
| | | | |
| | | | |
| p1 | p2 | <-- | p3 |
| | | | |
| | | | |
------------- -----

Jul 21 '05 #3

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

Similar topics

8
1583
by: Yasutaka Ito | last post by:
Hi, Is there a way to find to which control the current control is docked against? For example, let's say I have panel1 and panel2 docked to left within a form. The panel1 is the first one on...
1
3012
by: Bob (remove 'excise-' to reply) | last post by:
I've got a form with three controls: a left-docked richtextbox, a right-docked form, and a right-docked listview. When I resize the form, the listview increases and decreases, the splitter...
8
1121
by: Yasutaka Ito | last post by:
Hi, Is there a way to find to which control the current control is docked against? For example, let's say I have panel1 and panel2 docked to left within a form. The panel1 is the first one on...
8
303
by: Yasutaka Ito | last post by:
Hi, Is there a way to find to which control the current control is docked against? For example, let's say I have panel1 and panel2 docked to left within a form. The panel1 is the first one on...
1
2581
by: Mike TI | last post by:
April 20, 2006 Hi All Is there a way I can tell the name of the user control docked in a Split Container Panel. I am using VB.Net 2005. e.g. if I dock a user control using the code below: ...
0
7099
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7123
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,...
1
6842
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
7319
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...
0
5430
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,...
1
4864
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...
0
4559
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...
0
3070
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1378
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 ...

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.