Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Destroy object reference
Message
From
08/04/2002 10:38:19
 
 
To
08/04/2002 10:22:30
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00642179
Message ID:
00642189
Views:
14
This message has been marked as a message which has helped to the initial question of the thread.
Hello Hilmar,

I'd say Unload(), 2nd choice would be destroy(). Unload() is the last method to fire (besides DE events).

The release() method does not always fire (if the user clicks on the 'X' to close, for example). QueryUnload() is the place to determine if the form should be allowed to close.

>In a form, I want a property to refer to an object on the same form. I understand I have to do some cleaning-up, by setting this property to .NULL., for instance, before closing the form.
>
>My question is: what is the correct method to put this? Destroy? Release? QueryUnload?
>
>TIA, Hilmar.
Steve Gibson
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform