Simon Bull schrieb:
Just in case someone is following this up later, the problem was the String passed as the first param to addEventListener:I needed to add listeners to the "changeChecked" and "changeVisible" events rather than to the "checked" and "visible" properties. // So, code like this works menuCheckBox.addEventListener("changeChecked", function(e) { this.setVisible( !this.getVisible() ); }, window);
by the way: In renderer you could also use toggleVisible() - this is useable for all boolean qooxdoo properties.
Sebastian
Simon ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
