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

Reply via email to