johnl schrieb: > Hello. > > I have an application with a number of text fields, any of which could > be open for editing at a given time. I'd like the user to be able to > press 'ctrl-s' to save, but I can't figure out how to make this apply > only to the active widget. > > Does anyone know how to do this? > You can use qx.client.Command <http://demo.qooxdoo.org/current/apiviewer/#qx.client.Command> to define global keyboard shortcuts and then enable or disable it as needed.
Best, Fabian -- Fabian Jakobs JavaScript Framework Developer 1&1 Internet AG Brauerstraße 48 76135 Karlsruhe Amtsgericht Montabaur HRB 6484 Vorstand: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Andreas Gauger, Matthias Greve, Robert Hoffmann, Norbert Lang, Achim Weiss Aufsichtsratsvorsitzender: Michael Scheeren ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ qooxdoo-devel mailing list qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel