Icon OnCloseQuery Event

property OnCloseQuery: TCloseQueryEvent

Available In: Visual Client Applications

This event is triggered when the form's Close method is called.

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