Table of Contents

TIDEEngine.DlgSaveFileAs Method

Opens a Save As dialog to save the specified file under a new name.

Remarks

Opens the "Save as..." dialog for saving an unit. It performs extra operations like checking if the unit name already exists, and update the script source code (directive "$FORM") with the correct file name, in case the file name was changed. This method returns true if the file was saved succesfully

Syntax

Unit: IDEMain

function TIDEEngine.DlgSaveFileAs(AFile: TIDEProjectFile): Boolean;

Parameters

<-> Parameter Type Description
AFile TIDEProjectFile

See also