Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is not UNBINDingEVENTS() dangerous?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP1
Network:
Windows NT
Database:
MS SQL Server
Divers
Thread ID:
00955468
Message ID:
00955510
Vues:
21
Hi Chad,

> Will it hurt anything if I don't iterate though the controls and UNBINDEVENTS() during the form Destroy() process?

So far I haven't found any problem when I didn't unbind objects. Giving the problems we had with object references in the past, I'd unbind them, nonetheless. BTW, the Destroy event is too late to reliable remove references. For the form, it's safe until the DODEFAULT() line in the Release method and the QueryUnload event.

--
Christof
--
Christof
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform