Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Objects in a collection - destroy() doesn't fire
Message
De
18/04/2007 17:03:30
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01217484
Message ID:
01217507
Vues:
17
>Who is destroying first: parent or child? I think you need to do something else, storing a reference to the parent in the child object referenced in the parent will put you in trouble (already did).

OK, I think I've found it - I was creating a reference to the child control in _screen.oCtl, which I cleared only when the object destroyed. It obviously doesn't run its .destroy(), for whichever reason, but now I've discovered I can remove this reference much earlier, so now it seems to work.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform