[Mono-bugs] [Bug 79001][Min] Changed - [Patch]: NumericUpDown: Value proeprty should be equal to Minimum property when created
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Thu Aug 3 09:41:00 EDT 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 alex.olk at googlemail.com.
http://bugzilla.ximian.com/show_bug.cgi?id=79001
--- shadow/79001 2006-08-02 23:19:32.000000000 -0400
+++ shadow/79001.tmp.18722 2006-08-03 09:41:00.000000000 -0400
@@ -11,13 +11,13 @@
AssignedTo: peter at novonyx.com
ReportedBy: unserkonig at gmail.com
QAContact: mono-bugs at ximian.com
TargetMilestone: ---
URL:
Cc:
-Summary: NumericUpDown: Value proeprty should be equal to Minimum property when created
+Summary: [Patch]: NumericUpDown: Value proeprty should be equal to Minimum property when created
The default value for NumericUpDown.Value is 0. If the
NumericUpDown.Minimum value is bigger than it -for example, 3-, then Value
should have the same value -thus 3 too-.
When trying to decrement the value of the NumericUpDown control, an
@@ -50,6 +50,11 @@
ud.Location = new Point (5, 5);
ud.Minimum = 3;
ud.Parent = this;
}
}
+
+------- Additional Comments From alex.olk at googlemail.com 2006-08-03 09:41 -------
+Attached is a patch that fixes the bug. I decided to rename the
+decimal variable value to dvalue so that it's easier to keep the
+variable and property "value" appart.
More information about the mono-bugs
mailing list