>Actually, I have my Collection object oForms which contains every Form in my application.
>So I put in ON SHUTDOWN goApp.MyProcedureForShutdown()
>
>
>
>
>FOR EACH loForm IN oForms.Form
> loForm.Release()
>
>ENDIF
>
>>
>
>but still I get ReleaseType = 1.
>
You can not use the code above. You need to loop through collection using count.
I'm not sure what is the relevance of ReleaseType here.
If it's not broken, fix it until it is.
My Blog