Home / comp / gb.qt / window / .close 
Window.Close (gb.qt)
Syntax
EVENT Close ( ) AS Boolean
Raised when the window is going to be closed.

Use STOP EVENT to cancel the close operation.