I am using a modified version of Qx 0.5.x and am trying to disable IE's default "back" behaviour when the user presses the backspace key.
I have tried this:
var d = this.getClientWindow().getClientDocument();
d.addEventListener(QxConst.EVENT_TYPE_KEYPRESS, function(e) {
alert("caught keystroke");
if ( e.getKeyCode() == QxKeyEvent.keys.backspace ) {
alert("caught backspace");
return;
};
});
which catches key presses like "z" and "9" - but doesn't seem to catch the backspace key.
Does anyone know how to intercept the backspace keypress?
Thanks,
Simon
On Yahoo!7
360°: Share your blog, photos, interests and what matters most to you
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
