[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Dialogs' (#lcl)

TCustomTaskDialog.OnDialogDestroyed

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

Declaration

Source position: dialogs.pp line 834

public property TCustomTaskDialog.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.

Version info

Added in LCL version 4.0.

See also

TCustomTaskDialog.DoOnDialogDestroyed

  

Signals the OnDialogDestroyed event handler (when assigned).

TLCLTaskDialog.Destroy

  

Destructor for the class instance.


Version 4.0 Generated 2025-05-03 Home