Hi. I need a little help, I want fire "Esc" keypress event, for example, in textfield by code. What is wrong with this example (txtBuscar is a qx.ui.form.TextField). Is this the correct use of fireEvent("keypress"...) ?, please give me some help about
var evt = document.createEvent("KeyboardEvent"); evt.initKeyEvent("keypress", true, true, window, false, false, false, false, 27, 27); txtBuscar.fireEvent("keypress", qx.event.type.KeySequence, [evt, txtBuscar, "Escape"]); I get this error from debugger, and I cant understand 168526 No dispatcher can handle event of type keypress on qx.ui.form.TextField Im using qooxdoo 1.4 and 1.6, Windows XP and Firefox 11 sorry my english -- View this message in context: http://qooxdoo.678.n2.nabble.com/help-with-fireEvent-tp7489036p7489036.html Sent from the qooxdoo mailing list archive at Nabble.com. ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 _______________________________________________ qooxdoo-devel mailing list qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel