I've not used HtmlArea for a while but it might worth bearing in mind that
it is implemented as an iframe and events go to the iframe, not to the main
window ­ you might have to trap events on the iframe's document body.  In
order for your sample to work, HtmlArea would have to be specifically
trapping the event inside the iframe and firing a duplicate on the htmlArea
object.

John

From:  Alexei Vinidiktov <[email protected]>
Reply-To:  qooxdoo Development <[email protected]>
Date:  Monday, 25 February 2013 15:37
To:  <[email protected]>, qooxdoo Development
<[email protected]>
Subject:  Re: [qooxdoo-devel] changeValue event in htmlArea?


On Mon, Jan 11, 2010 at 3:23 PM, Alexander Steitz
<[email protected]> wrote:
> Unfortunately not. You have to use event listeners to check for any changes.
> Feel free to open a bug report for this feature if you like to see it in  the
> future.

How do I add a keypress event listener to HtmlArea?

This didn't work:

htmlArea.addListener("keypress", function(e) {
alert("key pressed!");
}, this);


-- 
Alexei Vinidiktov 
----------------------------------------------------------------------------
-- Everyone hates slow websites. So do we. Make your web apps faster with
AppDynamics Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb__________________________________________
_____ qooxdoo-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to