Fritz Zaucker wrote:
You could listen to the keypress event and check the key code for ENTER.

Yep, that's the canonical approach. -T.

Cheers,
Fritz

On Fri, 13 Nov 2009, Ilkka Oksanen wrote:

Hi again,

Is there an event which fires when (and only when) user presses enter in
text field?

changeValue fires when enter is pressed but it's generated also when user
changes focus to another widget.
In my application the latter case means that user might accidentally send
unfinished string to server. Is
there event for my needs or some other work-a-round?

Thanks,

     -ilkka




------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to