You could listen to the keypress event and check the key code for ENTER. 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 > > > -- Oetiker+Partner AG tel: +41 62 775 99 03 (direct) Fritz Zaucker +41 62 775 99 00 (switch board) Aarweg 15 +41 79 675 06 30 (mobile) CH-4600 Olten fax: +41 62 775 99 05 Schweiz web: www.oetiker.ch ------------------------------------------------------------------------------ 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
