Hi, i have one question

This is my code : 

label = new qx.ui.toolbar.Button("Test");
this.add(label);
label.setUserData("id",1);
label.addEventListener("execute", this._onPilihKat, this);
....
....

_onPilihKat : function()
{
    how to access the label object here? example : how to get the 
userdata("id")?

    because if I use "this", it will refer to the container of label, not to 
the label
}


Thank you



      
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to