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

TPreviewFileDialog.DoExecute

Creates the PreviewFileControl and displays the dialog.

Declaration

Source position: extdlgs.pas line 61

protected function TPreviewFileDialog.DoExecute: Boolean; override;

Description

DoExecute is an overridden Boolean function in TPreviewFileDialog.

DoExecute calls the CreatePreviewControl method to allocate resources for the PreviewFileControl property. It calls the inherited method to display the dialog, select a file on the local file system, and get the return value for the method. The return value is True when the dialog return value in UserChoice is mrOk.

DoExecute is called from the Execute method in the TCommonDialog ancestor class.

See also

TPreviewFileDialog.CreatePreviewControl

  

CreatePreviewControl - create an instance of the windowed control used in the dialog.

TPreviewFileDialog.PreviewFileControl

  

Windowed control used to preview the contents of a file in the dialog.

TCommonDialog.Execute

  

Displays the dialog and captures the result.

TCommonDialog.UserChoice

  

Contains the modal result value selected by the user.

TOpenDialog.DoExecute

  

Performs actions needed to display the dialog and capture its result.


Version 4.0 Generated 2025-05-03 Home