Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cancel destroy event?
Message
 
 
To
15/07/2008 20:06:04
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01331480
Message ID:
01331540
Views:
7
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform