Docked controls and z-order problem

D

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 |
| | | | |
| | | | |
------------- -----
 
C

Cor Ligthert

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top