Hi Mustafa, thank you for the hint you are right that's working with one exception, the __getWidgetAfter is private, Using it works in the source version but fail if I build my application.
I think the API is missing a public function like focusNext (enhancement bug?). Is it possible to use fireEvent for this? I tried many implementations for firing a keypressed event, without success. Regards, Andreas >-----Ursprüngliche Nachricht----- >Von: Mustafa Sak [mailto:[email protected]] >Gesendet: Montag, 14. November 2011 21:17 >An: 'qooxdoo Development' >Betreff: Re: [qooxdoo-devel] simulate tab on enter > >HI Andreas, > >I didn't test it, but I would give >http://demo.qooxdoo.org/current/apiviewer/#qx.ui.core.FocusHandler~__g >etWidg >etAfter a chance to get the next focusable widget. Then after knowing him >.tabfocus() could be usefull. >http://demo.qooxdoo.org/current/apiviewer/#qx.ui.form.AbstractField~tabF >ocus > >So maybe its helpful. > >Regards Mustafa > >-----Ursprüngliche Nachricht----- >Von: Fink, Andreas [mailto:[email protected]] >Gesendet: Montag, 14. November 2011 18:07 >An: [email protected] >Betreff: [qooxdoo-devel] simulate tab on enter > >Hi all, > >our app is heavily used with barcode scanners. They all set to add an >"enter" after the character sequence (this is necessary for other >applications so no way to change this setting). >On our qooxdoo app I want to simulate a "tab" so the focus is set to the >next widget with this enter. >That would be really useful for filling forms with such a scanner. E.g. scan >inventory number, scan a serial, scan something else and the last scan >submits the form without the users have to press tab between the scans. > >Anyway, I searched the api of the FocusHandler if something like focusNext >exists, without success ;) I also failed to fire a keypressed event with >identifier "tab" manually. > >Can someone give me a hint or a playground example? > >Many thanks, >Andreas > > > >------------------------------------------------------------------------------ >RSA(R) Conference 2012 >Save $700 by Nov 18 >Register now >http://p.sf.net/sfu/rsa-sfdev2dev1 >_______________________________________________ >qooxdoo-devel mailing list >[email protected] >https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
