[Mono-bugs] [Bug 80556][Nor] New - Anchor and Dock are supposed to reset each other
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Fri Jan 19 05:36:40 EST 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 georgegiolfan at yahoo.com.
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: toshok at ximian.com
+ReportedBy: georgegiolfan at yahoo.com
+QAContact: mono-bugs at ximian.com
+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.
More information about the mono-bugs
mailing list