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

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 1236
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
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
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
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
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
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
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
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...

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.