Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is not UNBINDingEVENTS() dangerous?
Message
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP1
Network:
Windows NT
Database:
MS SQL Server
Miscellaneous
Thread ID:
00955468
Message ID:
00955541
Views:
14
Ahh,

Thanks Christof.

Chad

>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
_________________________________
There are 2 types of people in the world:
    Those who need closure
Previous
Reply
Map
View

Click here to load this message in the networking platform