http://bugzilla.novell.com/show_bug.cgi?id=536816

http://bugzilla.novell.com/show_bug.cgi?id=536816#c2


Manfred Pohler <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #2 from Manfred Pohler <[email protected]> 2010-01-15 15:19:08 UTC 
---
I guess this is no bug!

There are two different handlers for "EditingEnded" and "DoneButtonClicked".
To enable the done button (return key) simply a handler must exist.
With AllEditingEvents you provide such a handler - therefore it works.

The sepcific handler is EditingDidEndOnExit. Simply add that handler and it
should do what you expect.
Something like:
MyTextBox.EditingDidEnd+=.... (to handle when edit ends)
--is called when editing ends
--no matter if Done button is used or the user (for an example) clicks another
text field
MyTextBox.EditinDidEndOnExit+=... (to handle "Done")
--is called when the user clicks done (dismisses the keyboard)
--the handler can be empty - it must just be present.

If you are working with delegates (MyTextBox.Delegate=....) the methods to
override are "ShouldReturn" and "ShouldEndEditing"

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to