[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Displays the dialog and captures the result.
Source position: dialogs.pp line 119
public function TCommonDialog.Execute: Boolean; virtual; |
Returns True if the user pressed the OK button.
Use the Execute method to display the dialog and capture the result.
Execute notifies the Application that a modal display is started, and disables the current form. The widgetset handle is allocated for the dialog, and the DoExecute method is called to process the modal dialog. The form is re-enabled and its active control is re-selected. The Application is notified that the modal display is completed.
The return value is set to True if the OK button was pressed to exit the dialog.
|
The function that actually takes care of executing the dialog. |
|
|
The TApplication singleton. |
|
|
Called when a modal form display is started. |
|
|
Called when a modal form is closed. |
Version 3.2 | Generated 2024-02-25 | Home |