Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Default destroy() functionality
Message
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00710285
Message ID:
00710351
Views:
19
>>"I have put object member variable destruction code in my destroy() events, but this isn't getting executed"

As Glad explained, the form's destroy (event) does not get executed because there is a live reference to it... inside an object which is in turn keeped alive by the form itself.

Doug Hennig presented an excelent "pattern" of programing to avoid these errors in an article he published on FoxTalk some time ago (98?): "Reusable Tools: Kill objects dead!"

If you are a FoxTalk online suscriber you can read it here

HTH
Jose.
------------------
Jose Marcenaro
Tercer Planeta - Argentina
http://www.tercerplaneta.com
Previous
Reply
Map
View

Click here to load this message in the networking platform