[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Displays the dialog and captures the modal result value.
Source position: dialogs.pp line 647
public function TCustomTaskDialog.Execute: Boolean; dynamic; overload; |
ParentWnd: HWND |
):Boolean; dynamic; overload; |
True if a valid button identifier was selected in the dialog.
ParentWnd |
|
Parent window handle used to position the dialog in the LCLTaskDialog wrapper. |
Execute is an overloaded Boolean function used to display the dialog and capture the modal result value using the wrapper in the LCLTaskDialog unit. The return value is True if a valid button identifier was selected in the wrapper.
Execute calls the DoExecute method to convert property values in the class instance to the values expected in the TTaskDialog record, and execute the dialog using the LCLTaskDialog wrapper. The value in ModalResult is updated from the Button with the identifier returned from the wrapper.
|
Modal result value returned when the Task dialog was executed. |
|
|
Not used in the current LCL version. |
|
|
Implements a task dialog. |