Re: [qooxdoo-devel] KeyEvent and modifier keys

2007-05-30 Thread Rüdiger Herrmann
Yup, that's why. I had a look at the source of KeyEvent and - naturally - couldn't find it;) Thanks Rüdiger Sebastian Werner wrote: > 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

Re: [qooxdoo-devel] KeyEvent and modifier keys

2007-05-30 Thread Sebastian Werner
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. Sebastia

[qooxdoo-devel] KeyEvent and modifier keys

2007-05-30 Thread 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