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

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sat Dec 30 21:26:52 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.

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

--- shadow/80411	2006-12-30 21:26:52.000000000 -0500
+++ shadow/80411.tmp.31012	2006-12-30 21:26:52.000000000 -0500
@@ -0,0 +1,38 @@
+Bug#: 80411
+Product: Mono: Class Libraries
+Version: 1.2
+OS: Windows XP
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Windows.Forms
+AssignedTo: toshok at ximian.com                            
+ReportedBy: georgegiolfan at yahoo.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Setting ActiveControl does not raise ArgumentException when it should
+
+Description of Problem:
+Setting ActiveControl does not raise ArgumentException when it should
+
+Steps to reproduce the problem:
+Compile and run the following program.
+using System.Windows.Forms;
+class Test {
+    static void Main() {
+        new UserControl().ActiveControl = new Control();
+    }
+}
+
+Actual Results:
+Nothing.
+
+Expected Results:
+ArgumentException, Invisible or disabled control cannot be activated
+
+How often does this happen? 
+Always.


More information about the mono-bugs mailing list