What if you put no code in the Close event (Events | Close)? Will the
window still close? i.e. what is the 'real' purpose of the window's
Close event? Is it just a notification you can use to clean up (and
the window will close itself regardless), or are you (the programmer)
responsible for calling "Self.Close" or "Self.Hide" in the Close event?
On Nov 12, 2006, at 1:56 PM, [EMAIL PROTECTED] wrote:
On Nov 12, 2006, at 2:44 PM, William Squires wrote:
What, exactly, happens when a user clicks on a window's 'close
box' widget?
As far as your code is concerned, CancelClose fires, and if it
returns false, then Close fires, and then the window goes away and
is unloaded from memory behind the scenes. I believe all
references to the window become Nil at that point too, but I am 95%
sure.
Andrew Keller
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>