Happens when the user clicks on the window's close box, or selects "Close" from its system menu. Typically, you will use this event to test if any changes to data need to be saved to permanent media, and prompt the user if so.


Return

An empty string prevents the window from closing. Return no value and a DESTROY event will occur.


Notes

See also DESTROY.