![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
|
Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
br> br> |
| |||||||
![]() |
| | Thread Tools | Display Modes |
| | #1 (permalink) |
| Guest | 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 Specs![]() |
| | #2 (permalink) |
| Guest | 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 Specs![]() |
| | #3 (permalink) |
| Guest | 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 Specs![]() |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Multi-select problem in Windows Explorer BIG PROBLEM!!!!!! | Jim Hansen | Vista General | 3 | 12-16-2007 08:09 PM |
| Generic McAfee Problem Message in Vista Problem Reports | cyberbuff53 | Vista performance & maintenance | 0 | 12-01-2007 07:55 AM |
| fixed unable to delete email problem, now I have new problem | j2 | Vista mail | 19 | 03-29-2007 08:25 PM |
| audio problem with my sony vaio laptop and x64 problem | =?Utf-8?B?YWxleA==?= | Vista hardware & devices | 1 | 07-14-2006 09:32 AM |
| Vista Upgrade Problem - Windows Explorer Loop problem | Steve S | Vista installation & setup | 0 | 06-27-2006 10:15 AM |