Hello All,

In my legacy app I used to be able to do key event comparisons like this:

      if (e.getKeyIdentifier() === qx.legacy.event.type.KeyEvent.keys.enter)

I can do the equivalent in 0.8 like this:

      if (e.getKeyIdentifier() === "Enter")


I have seen the stuff in qx.event.handler, but can't seem to find a
way of achieving the same comparison without hard coding the String
"Enter".  Does anyone know how to do this properly?

Thanks,

Simon

------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to