Sign in Join
FPDoc Onlineexperiment

TTaskDialog.OnDialogCreated property

Member of TTaskDialogpublishedIn unit Dialogs

Event handler signalled when a form instance has been created for the dialog.

Declaration

pascal
property OnDialogCreated:;

Description

OnDialogCreated is a TNotifyEvent property with the event handler signalled after a new dialog form instance has been created for the class. It is signalled (when assigned) in the DoOnDialogCreated method, and occurs when the dialog form is created for the class instance.

For native implementations using the Task Dialog API (supported Windows versions), it occurs when the TDN_CREATED notification is handled in the callback routine for the class instance. For emulated task dialog forms, it occurs when the TLCLTaskDialog.CreateNew method is called. It is the last action performed in the method, and allows the caller to be notified when the LCL form instance is valid and available to the TTaskDialog owner.

This description is the one of Dialogs.TCustomTaskDialog.OnDialogCreated.

See also

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