>>Hi,
>>
>>I have a form and in one of the methods of this form I want to release this form (based on some condition). So I have code
>>
>>thisform.release()
>>
>>
>>But the form is not released. The program goes to the next line after the thisform.release(). How do I release a form in a middle of any method of the form?
>
>Check the Form.Destroy event.
>If it is fired, and form still live,
>then you have a form's member dangling pointer.
Do I need to put some code in the .Destroy even to see if it fires? Because without a code in this method I don't see a way to check if it fires.
Thank you
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham