Close (event)

EVENT Close ( ) AS Boolean

Raised when the window is going to be closed.

Use STOP EVENT to cancel the close operation.