[Mono-bugs] [Bug 80514][Nor] New - ScrollableControl.OnMouseWheel sets wrong value on scrollbar
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Fri Jan 12 19:37:17 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=80514
--- shadow/80514 2007-01-12 19:37:16.000000000 -0500
+++ shadow/80514.tmp.8374 2007-01-12 19:37:16.000000000 -0500
@@ -0,0 +1,42 @@
+Bug#: 80514
+Product: Mono: Class Libraries
+Version: 1.2
+OS: other
+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: ScrollableControl.OnMouseWheel sets wrong value on scrollbar
+
+Description of Problem:
+I did not see it at first, but ScrollableControl.OnMouseWheel sets the
+value of the vertical scrollbar to its maximum.
+
+Steps to reproduce the problem:
+1. Compile and run the following program.
+using System;
+using System.Windows.Forms;
+class TestForm : Form {
+ static void Main() {
+ Application.Run(new TestForm());
+ }
+ public TestForm() {
+ Button b = new Button();
+ ScrollableControl c = new ScrollableControl();
+ b.Height = 1000;
+ c.Dock = DockStyle.Fill;
+ Controls.Add(c);
+ c.Controls.Add(b);
+ c.AutoScroll = true;
+ c.AutoScrollMinSize = b.Size;
+ }
+}
+2. Scroll down using the scroll mouse wheel.
More information about the mono-bugs
mailing list