HI Andreas, I didn't test it, but I would give http://demo.qooxdoo.org/current/apiviewer/#qx.ui.core.FocusHandler~__getWidg 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~tabFocus
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
