Fires on an attempt to terminate the application, whether from application.terminate (used e.g. by fo_terminateonclose) or from the OS asking to shut down
Source position: mseforms.pas line 386
public property tcustommseform.onterminatequery : terminatequeryeventty |
Fires on an attempt to terminate the application, whether from application.terminate (used e.g. by fo_terminateonclose) or from the OS asking to shut down; setting terminate to False cancels it (on Windows, this also cancels the OS shutdown).