Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > Avalon

Vista - A problem about zIndex.

 
 
Old 01-02-2007   #1 (permalink)
wisenighthsu@ulead.com.tw


 
 

A problem about zIndex.

Dear all:

I wrote a Canvas which has three children.

The third one is on the top, First one is under the second one.

Then, I use a button. When clicking the button,

I remove the third one from the Canvas, and

set the zIndex of first one to 1, second one to 0.

But the first one is still under the second one.

What can I do to let the first one on the top.

BR

Wisenight


My System SpecsSystem Spec
Old 01-09-2007   #2 (permalink)
Stoitcho Goutsev \(100\)


 
 

Re: A problem about zIndex.

Wisenight,

AFIAK the ZIndex affects only the user input, which means the element on the
bottom won't be absured by that is visually on the top with regards to the
mouse input for example. However visually ZIndex doesn't change anything. If
you want to move the control on the top you need to change its position in
the visaul children collection (physically move the element).


--
HTH
Stoitcho Goutsev (100)
<wisenighthsu@ulead.com.tw> wrote in message
news:1167722508.378383.21930@42g2000cwt.googlegroups.com...
> Dear all:
>
> I wrote a Canvas which has three children.
>
> The third one is on the top, First one is under the second one.
>
> Then, I use a button. When clicking the button,
>
> I remove the third one from the Canvas, and
>
> set the zIndex of first one to 1, second one to 0.
>
> But the first one is still under the second one.
>
> What can I do to let the first one on the top.
>
> BR
>
> Wisenight
>



My System SpecsSystem Spec
 

Thread Tools


Similar Threads
Thread Forum
the problem with ndis.sys Blue Screen of Death problem solved? Vista General
Re: Windows Mail Attachement Problem and Adobe Player Problem with IE8 Vista mail
Generic McAfee Problem Message in Vista Problem Reports Vista performance & maintenance
audio problem with my sony vaio laptop and x64 problem Vista hardware & devices
Vista Upgrade Problem - Windows Explorer Loop problem Vista installation & setup


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46