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 [EMAIL PROTECTED]

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

--- shadow/80556        2007-01-19 05:36:40.000000000 -0500
+++ shadow/80556.tmp.19569      2007-01-19 05:36:40.000000000 -0500
@@ -0,0 +1,46 @@
+Bug#: 80556
+Product: Mono: Class Libraries
+Version: 1.2
+OS: All
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Windows.Forms
+AssignedTo: [EMAIL PROTECTED]                            
+ReportedBy: [EMAIL PROTECTED]               
+QAContact: [EMAIL PROTECTED]
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Anchor and Dock are supposed to reset each other
+
+Description of Problem:
+Anchor and Dock seem to keep their value after the other is set.
+
+Steps to reproduce the problem:
+Compile and run the following program.
+using System.Windows.Forms;
+class Test {
+    static void Main() {
+        Control c = new Control();
+        c.Dock = DockStyle.Top;
+        c.Anchor = AnchorStyles.Top;
+        MessageBox.Show(c.Dock.ToString());
+    }
+}
+
+Actual Results:
+Top
+
+Expected Results:
+None
+
+How often does this happen? 
+Always (on the SVN version).
+
+Additional Information:
+From the Microsoft documentation:
+The Anchor and Dock properties are mutually exclusive. Only one can be set 
+at a time, and the last one set takes precedence.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to