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.UsesObject for more info on parameters. |
| FindInstanceByClassName | Returns the TatObject instance which correspondes to the class name specified by AClassName. See TatCustomScripter.UsesObject for more information. |
| FindInstanceByMethodName | 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. |
| FindInstanceByPropertyName | 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. |