Sign in Join
FPDoc Onlineexperiment

TForm.OnDestroy property

Member of TFormpublishedIn unit Forms

Handler called when the form is destroyed.

Declaration

pascal
property OnDestroy:;

Description

OnDestroy is a TNotifyEvent property signalled when the form instance is destroyed. OnDestroy is signalled from the DoDestroy method (when assigned) as one of the steps before destruction of the class instance. Before the event handler is triggered, the form has been hidden and the Menu from the main form in the Application has been unmerged.

This description is the one of Forms.TCustomForm.OnDestroy.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.