Sign in Join
FPDoc Onlineexperiment

TLazOpenDialog.DoExecute function

Member of TLazOpenDialogprotectedIn unit LazDialogs

Executes the file open dialog.

Declaration

pascal
function DoExecute: Boolean; override

Function result

True when the file open dialog was not cancelled during execution.

Description

DoExecute is an overridden Boolean function used to execute the Lazarus File Open dialog. The return value is True when the ShowModal method in the dialog form is a value other than mrCancel. DoExecute also updates the FileName member to reflect the value returned on the dialog form.

See also

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