With every keyboard event you get a KeyEvent object. This object has  
methods like isCtrlPressed(). Just take a look at the corresponding  
API (http://demo.qooxdoo.org/0.7-beta3/apiviewer/ 
#qx.event.type.KeyEvent). Hint: Enable the inheritance. These stuff  
is inherited from DomEvent.

Sebastian



Am 30.05.2007 um 20:58 schrieb Rüdiger Herrmann:

> Hi all,
>
> this is probably a very dumb question but I just can't figure it out.
> How can I determine which modifier keys (e.g. ctrl, shift, alt, etc.)
> are held while a KeyEvent occurs. I would like to do something if only
> the Enter (and no Ctrl-Enter or Shift-Enter or whatever) was pressed.
>
> Thanks
> 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
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to