Table of Contents

TIDEProjectFiles Class

This class holds a collection of TIDEProjectFile objects which represent all the files belonging to a script project. A file can be a script or a script form.

Syntax

Unit: IDEMain

TIDEProjectFiles = class(TOwnedCollection);

Methods

Name Description
Add Adds a new file in the collection.
FindByForm Finds the TIDEProjectFile object which contains the script form instance specified by AForm. If not found, nil is returned.
FindByFormName Finds the TIDEProjectFile object containing the form which name is specified by AFormName. If the file is not found, this method returns nil.
FindByScript Finds the TIDEProjectFile object associated with the TatScript object specified by AScript. If not found, nil is returned.
FindByUnitName Finds the TIDEProjectFile object associated with the script specified by AUnitName. If the file is not found, this method returns nil.

Properties

Name Description
Items[Index] Provides indexed access to a TIDEProjectFile item in the collection.