I had a similar problem and solved it by listening to the click event
instead of the changeValue event. Inside the click event handler you can use
getValue() to get the new value.
Cheers,
Fritz
On Fri, 13 Nov 2015, Frédéric wrote:
Hi!
My home automation (KNX-based) client app. is almost finished, and works
fine.
To improve the design, I would like to know if it is possible to avoid the
'changeValue' event to be triggered when I set a new value from the
code (using toggle.setValue())? I would like this event to be triggered
only when the user *clicks* on the toggle, from the GUI...
Thanks,
--
Frédéric
------------------------------------------------------------------------------
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
--
Oetiker+Partner AG tel: +41 62 775 9903 (direct)
Fritz Zaucker +41 62 775 9900 (switch board)
Aarweg 15 +41 79 675 0630 (mobile)
CH-4600 Olten fax: +41 62 775 9905
Schweiz web: www.oetiker.ch
------------------------------------------------------------------------------
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel