Sign in Join
FPDoc Onlineexperiment

TCustomTaskDialog.OnDialogDestroyed property

Member of TCustomTaskDialogpublicIn unit Dialogs

Event handler signalled when the task dialog form has been freed for the class instance.

Declaration

pascal
property OnDialogDestroyed: TNotifyEvent read FOnDialogDestroyed write FOnDialogDestroyed;

Description

OnDialogDestroyed is a TNotifyEvent property with the event handler signalled when the dialog form for the class instance has been freed. It is signalled (when assigned) from the DoOnDialogDestroyed method.

For native implementations using the Task Dialog API (supported Windows versions), it occurs when the TDN_DESTROYED notification is handled in the callback routine for the class instance. For emulated task dialog forms, it occurs when the TLCLTaskDialog.Destroy method is called. It is the first action performed in the method, and occurs before the inherited destructor is called for the LCL form instance.

Added in LCL version 4.0.

See also

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