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

# TLCLTaskDialog.DoShow

Performs actions needed when the dialog form is initially displayed.

## Declaration

Source position: taskdlgemulation.pp line 171

`public procedure TLCLTaskDialog.DoShow; override;`

## Description

DoShow is an overridden method in TLCLTaskDialog used to perform actions needed when the task dialog form is displayed for the first time. DoShow is called when queued OnResize or OnChangeBounds event handlers are executed, or when the Showing property is set to True.

DoShow calls the inherited method on entry to signal the OnShow event handler (when assigned). It ensures that the Handle for the task dialog form is allocated before any dialog-specific event handlers are signalled, like OnDialogConstructed or OnDialogCreated.

## See also

TLCLTaskDialog.CreateNew |  | Alternate constructor for the class instance.
TLCLTaskDialog.AfterConstruction |  | Performs actions needed when a new instance of the class has been created.
TCustomTaskDialog.OnDialogConstructed |  | Event handler signalled when the constructor for the dialog form instance has completed.
TCustomTaskDialog.OnDialogCreated |  | Event handler signalled when a form instance has been created for the dialog.
TCustomForm.DoShow |  | Signals the OnShow event handler when needed.
TCustomForm.OnShow |  | Handler called when the form becomes visible.
TWinControl.Showing |  | Cached visibility for the widget. Not necessarily in sync with the widget.