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=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: [EMAIL PROTECTED]                            
+ReportedBy: [EMAIL PROTECTED]               
+QAContact: [EMAIL PROTECTED]
+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.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to