Hi all,

I am struggling with the ClientDocumentBlocker. It should lay above all 
other Windows and intercept all mouse and key events.

Starting with the code from ClientDocument.block/release I was able to 
bring it in front of all other windows and receive mouse events. But 
various attempts to also intercept key events failed.

Here is the code that brings up the ClientDocumentBlocker:
   this._blocker = new qx.ui.core.ClientDocumentBlocker;
   this._blocker.addEventListener( "keydown", this._onBlockerEvent );
   this._blocker.addEventListener( "keyup", this._onBlockerEvent );
   this._blocker.addEventListener( "keypress", this._onBlockerEvent );
   var doc = qx.ui.core.ClientDocument.getInstance();
   this._lastActiveChild = doc.getActiveChild();
   doc.setActiveChild( this._blocker );
   this._blocker.show();
   this._blocker.focus();

The _onBlockerEvent is never called, insted an underlying text field 
still receives key events.
Any ideas what is missing?


Thanks in advance
Rüdiger


-------------------------------------------------------------------------
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

Reply via email to