Am 01.04.2013 um 07:59 schrieb jpreed00 :
> Well, that was easy. Thanks very much.
:-)
>
> View this message in context:
> http://qooxdoo.678.n2.nabble.com/access-class-variables-within-event-handler-tp7583160p7583162.html
> Sent from the qooxdoo mailing list archive at Nabble.com.
>
> --
Well, that was easy. Thanks very much.
--
View this message in context:
http://qooxdoo.678.n2.nabble.com/access-class-variables-within-event-handler-tp7583160p7583162.html
Sent from the qooxdoo mailing list archive at Nabble.com.
---
Use the third parameter of addListener() to pass this to it.
Or use the bind() method on the click() function to bind this to it.
Cheers,
Fritz
Fritz Zaucker
Oetiker+Partner AG
Aarweg 15
CH-4600 Olten
+41 62 775 9903
Am 01.04.2013 um 07:47 schrieb jpreed00 :
> I create a button within a clas
I create a button within a class and return it to be displayed. I have the
event handlers within the class definition and I'd like to be able to access
the class variables from within the handler, is this possible?
Something like this:
qx.Class.define("myapp.Class1",
{
extend: qx.core.Obje