Table of Contents

TIDEEngine.OpenProject Method

Loads the project specified by AFileName and all its associated files, replacing any existing project.

Remarks

OpenProject loads the project specified by AFileName, and all its associated files. Since TIDEEngine is not multi-project, loading an existing project will automatically discard the existing project. This should be used to programatically open a project, it does not open any dialog for the end-user or asks for confirmation. To open a project with end-user interaction, use DlgOpenProject.

Syntax

Unit: IDEMain

function TIDEEngine.OpenProject(AFileName: string): Boolean;

Parameters

<-> Parameter Type Description
AFileName string

See also