[Mono-bugs] [Bug 82667][Nor] Changed - Control: Making visible a child control should not hide children controls in front (z order)

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Sep 5 06:56:03 EDT 2007


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by everaldo at simios.org.

http://bugzilla.ximian.com/show_bug.cgi?id=82667

--- shadow/82667	2007-09-05 06:31:17.000000000 -0400
+++ shadow/82667.tmp.14924	2007-09-05 06:56:03.000000000 -0400
@@ -94,6 +94,18 @@
 
 ------- Additional Comments From unserkonig at gmail.com  2007-09-02 22:59 -------
 It looks that simply calling UpdateZOrder in Control.Visible set
 accessor will do.
 
 Any comment?
+
+------- Additional Comments From everaldo at simios.org  2007-09-05 06:56 -------
+I just put UpdateZOrder in SetVisibleCore after control creation so we
+don't call UpdateZOrder more than needed (eg. Multiple
+visible=true/false). See svn r85342.
+
+To test it I changed your sample in Button1Handler.
+line:
+   l2.Visible = true;
+changed to:
+   l2.Visible = !l2.Visible;
+


More information about the mono-bugs mailing list