On Nov 12, 2006, at 2: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.

But 100% mistaken :) References to the window do not become nil after the window to which they point is closed. For example --

dim w as new Window1
w.Close
//at this point w <> nil



Charles Yeomans
_______________________________________________
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>

Reply via email to