[Mono-bugs] [Bug 383462] New: DateTimePicker fails if entering year by keyboard
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Thu Apr 24 13:52:50 EDT 2008
https://bugzilla.novell.com/show_bug.cgi?id=383462
Summary: DateTimePicker fails if entering year by keyboard
Product: Mono: Class Libraries
Version: unspecified
Platform: i586
OS/Version: openSUSE 10.3
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Windows.Forms
AssignedTo: mono-bugs at lists.ximian.com
ReportedBy: derekd at omni-ts.com
QAContact: mono-bugs at lists.ximian.com
CC: stephane at omni-ts.com
Found By: ---
Version 1.9.1
In the DateTimePicker, the year is checked for validity every time a key is
pressed in the year portion. Example, if you want to enter the year "1994", the
year "1" is checked for validation after you press it. So it fails.
To reproduce:
1. Add a DateTimePicker to a form
2. Set CustomFormat = "yyyy-MM-dd HH:mm:ss";
3. Run
4. Select the year string with the mouse and try to type in a new date
Result:
Exception is raised. Program closes.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the mono-bugs
mailing list