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