Unit 'mseforms' Package
[Overview][Constants][Types][Classes][Procedures and functions][Index] [#msegui]

tcustommseform.onterminatequery

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

Declaration

Source position: mseforms.pas line 386

public property tcustommseform.onterminatequery : terminatequeryeventty
  read fonterminatequery
  write fonterminatequery;

Description

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).


Documentation generated on: 2026-10-03