TIDEEngine.DlgOpenFile Method
Opens a file dialog to choose a script file, adds it to the project, and returns the new TIDEProjectFile.
Remarks
Call DlgOpenFile to open an existing file in the IDE interface. It will open a dialog for choosing the file, and if confirmed, the new file will be added to the project and opened in the IDE. This method returns the newly created TIDEProjectFile which contains the opened file. If end-user canceled the open dialog, DlgOpenFile returns nil.
Syntax
Unit: IDEMain
function TIDEEngine.DlgOpenFile: TIDEProjectFile;