Sign in Join
FPDoc Onlineexperiment

TCustomTaskDialog.OnDialogConstructed property

Member of TCustomTaskDialogpublicIn unit Dialogs

Event handler signalled when the constructor for the dialog form instance has completed.

Declaration

pascal
property OnDialogConstructed: TNotifyEvent read FOnDialogConstructed write FOnDialogConstructed;

Description

OnDialogConstructed is a TNotifyEvent property with the event handler signalled when the constructor for the task dialog has completed. It is signalled (when assigned) from the DoOnDialogConstructed method.

For native implementations using the Task Dialog API (supported Windows versions), it occurs when the TDN_DIALOG_CONSTRUCTED notification is handled in the callback routine for the class instance. For emulated task dialog forms, it occurs when the overridden AfterConstruction method is called.

Applications can implement a handler routine to perform actions needed when the dialog form has been allocated but not yet displayed or executed for the class instance.

Added in LCL version 4.0.

See also

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