[Mono-bugs] [Bug 340078] New: TextBox: enter key is handled before KeyPress event is fired
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Wed Nov 7 18:40:37 EST 2007
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: mono-bugs at ximian.com
ReportedBy: equistango at gmail.com
QAContact: mono-bugs at ximian.com
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.
More information about the mono-bugs
mailing list