TatCustomScripter.AddObject Method
Registers the object specified by AObject to be accessible from all scripts under the name AName.
Remarks
Published properties of the object are also automatically available for reading and writing from script.
This method is similar to AddComponent, but requires an explicit name to be provided via AName.
Syntax
Unit: atScript
procedure TatCustomScripter.AddObject(AName: string; AObject: TObject);
Parameters
| <-> | Parameter | Type | Description |
|---|---|---|---|
| AName | string | ||
| AObject | TObject |