Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating Object skips Thisform.Release()
Message
 
 
To
11/06/2003 18:17:54
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00798705
Message ID:
00799181
Views:
48
Bill,

Because of your deadly embrace situation you are going to have to explicitly call a cleanup method of one of those two objects so that the references can be removed.

You can put the clean up in the Destroy(), but realize that calling Destroy doesn't really cause the object to be destroyed. Destroy is an event that fires as the object is destructing.

>No Control.Destroy() method is ever STARTED. The Form.Destroy() executes, releasing the variable it's linked to, but NO CONTROL Destroy() ever starts. There is code in EVERY Control.Destroy() method on the form, but none of them ever get started.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform