>Ok, I create an object in FormA in the init procecedure as following
>
>&&FormA.init
>oform = createobject('cls_timerform')
>
>As soon as my FormA init procedure ends, my object is destroyed. oform has a timer that I am trying to keep go until I oform.release(). How do I keep the object (oform) alive until I am ready to release it? Thaks for the reply
>
>
>Nick Patel
Either make oform a PUBLIC variable (not really recommended) or make oform a property of FormA. If you make it a property of FormA then you would create your timer object like this:
FormA Init:
this.oform = createobject('cls_timerform')