Icon OnCloseQuery Event

property OnCloseQuery: TCloseQueryEvent

This event is triggered when the page is closed by the user via the tab close button, or when the Close method is called.

Return True to allow the close to continue, or False to prevent the page from closing.
Image