Quote:
|
Originally Posted by KuJi
Uhh.. you don't use this.. or Stefan didn't use this in the RC. They used name which is the name of the object... so
|
PHP Code:
function onCreated()
{
new GuiButtonCtrl("foo")
{
// this. == button object
thiso.catchevent(this, "onAction", "onFoo");
}
}
function foo(obj)
{
// obj. == button object
}