[Mono-bugs] [Bug 80411][Nor] Changed - Setting ActiveControl does not raise ArgumentException when it should

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sun Dec 31 10:04:33 EST 2006

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 georgegiolfan at yahoo.com.


--- shadow/80411	2006-12-31 08:04:27.000000000 -0500
+++ shadow/80411.tmp.20399	2006-12-31 10:04:33.000000000 -0500
@@ -51,6 +51,11 @@
 correct, but the without this check the ActiveControl of a control 
 could be set to itself, causing infinite recursion later. This 
 happens at least in Control.Select(Control). ArgumentException should 
 be thrown in this case, so the second part of the check for throwing 
 should be removed.
 Please see if the change in Control.Select(bool, bool) is necessary.
+------- Additional Comments From georgegiolfan at yahoo.com  2006-12-31 10:04 -------
+Created an attachment (id=18417)
+Proposed patch

More information about the mono-bugs mailing list