[Overview][Types][Classes][Procedures and functions][Index] | Reference for unit 'TaskDlgEmulation' (#lcl)

# TLCLTaskDialog.AfterConstruction

Performs actions needed when a new instance of the class has been created.

## Declaration

Source position: taskdlgemulation.pp line 170

`public procedure TLCLTaskDialog.AfterConstruction; override;`

## Description

AfterConstruction is an overridden method in TLCLTaskDialog used to perform actions needed when the emulated dialog form instance has been created. It calls the inherited method on entry to set the bounds for the form, signal the OnCreate event handler (when assigned), and to perform scaling when enabled in both the application and the form.

Use the OnDialogConstructed event handler in the TTaskDialog instance to perform actions needed when the Handle for the dialog form has been realized.

## See also

TLCLTaskDialog.AfterConstruction |  | Performs actions needed when a new instance of the class has been created.
TCustomTaskDialog.Handle |  | Handle for the form displayed for the task dialog.
TCustomTaskDialog.OnDialogConstructed |  | Event handler signalled when the constructor for the dialog form instance has completed.
TCustomForm.AfterConstruction |  | Performs actions when the form has been created and loaded from its resource file.