function onCreated() { temp.obj = new TStaticVar(); temp.obj.x = 1; temp.obj.y = 2; temp.obj.z = 3; }