Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Default destroy() functionality
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00710285
Message ID:
00710351
Vues:
20
>>"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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform