Table of Contents

TatObjects Class

Holds a list of object instances that are being accessible from scripts in a "default" way (methods and properties are directly accessed).

Syntax

Unit: atScript

TatObjects = class(TCollection);

Methods

Name Description
Add Adds a new object instance. See TatCustomScripter.​Uses​Object for more info on parameters.
FindInstance​ByClass​Name Returns the TatObject instance which correspondes to the class name specified by AClassName.
See TatCustomScripter.​Uses​Object for more information.
FindInstance​ByMethod​Name Returns the index of TatObject which holds the method specified by AMethodName. If the method is found, a reference to it is returned in AMethod parameter.
FindInstance​ByProperty​Name Returns the index of TatObject which holds the property specified by APropertyName. If the property is found, a reference to it is returned in AProperty parameter.
IndexOf Returns the index in the collection of the object specified by AName.

Properties

Name Description
Items[i] Provides indexed-access to the TatObject objects in the collection.