Sign in Join
FPDoc Onlineexperiment

TPreviewFileDialog.DoExecute function

Member of TPreviewFileDialogprotectedIn unit ExtDlgs

Creates the PreviewFileControl and displays the dialog.

Declaration

pascal
function 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

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.