TIDEEngine.NewProject Method
Programatically creates a new blank project, discarding any existing project without confirmation.
Remarks
NewProject method programatically creates a new blank project. Since TIDEEngine is not multi-project, calling NewProject will automatically discard the existing project. This method does not open any dialog or asks for confirmation. To create a new project with end-user interaction, use DlgNewProject.
Syntax
Unit: IDEMain
function TIDEEngine.NewProject: Boolean;