[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Performs actions to configure and execute the dialog using the wrapper in the LCLTaskDialog unit.
Source position: dialogs.pp line 642
protected function TCustomTaskDialog.DoExecute( |
ParentWnd: HWND |
):Boolean; dynamic; |
ParentWnd |
|
Handle for the Parent Window of the dialog. |
True if a valid button identifier was clicked in the dialog.
DoExecute is a dynamic Boolean function used to initialize and execute the task dialog. It ensures that the index for the default Buttons and RadioButtons are updated before executing the task dialog. It also builds the delimited list of captions for each of the items in Buttons and RadioButtons. The lists use the format needed for the task dialog wrapper (#10 is the delimiter).
Property values are copied to the members in the TTaskDialog instance, including:
DoExecute calls the Execute method in the TTaskDialog wrapper. The return value is True if the ModalResult value contains a valid button identifier defined in the Buttons for the dialog.
DoExecute is called from the Execute method.
|
Displays the dialog and captures the modal result value. |
|
|
Set of options enabled for the Task dialog. |
|
|
Collection with the buttons for the Task dialog. |
|
|
Collection with the optional radio buttons defined for the Task dialog. |
|
|
Caption displayed for the expand/collapse button on the dialog. |
|
|
Text that is displayed in the expandable / collapsible area on the Task dialog. |
|
|
Text that is displayed in the footer area on the Task dialog. |
|
|
Text displayed as main content for the Task dialog. |
|
|
Optional caption text for the check box displayed at the bottom of the Task dialog. |
|
|
Caption text displayed on the title bar for the Task dialog. |
|
|
Header text displayed at the top of dialog, with a larger font size and using a bold font style. |
|
|
Modal result value returned when the Task dialog was executed. |
|
|
Implements a task dialog. |