https://bugzilla.novell.com/show_bug.cgi?id=340078
Summary: TextBox: enter key is handled before KeyPress event is
fired
Product: Mono: Class Libraries
Version: 1.2
Platform: Other
OS/Version: Other
Status: NEW
Severity: Minor
Priority: P5 - None
Component: Windows.Forms
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]
QAContact: [EMAIL PROTECTED]
Found By: ---
On a multi line TextBox, when pressing the Enter key, by the time the KeyPress
event is fired the control already added the newline character to the text.
This forbids the KeyPress event handler from handling the newline (e.Handled =
true) because it's too late.
Other characters are (correctly) added to the text after KeyPress is fired (and
only if not handled by the KeyPress event handler).
--
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 - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs