TatClass.CastFromString Method
Returns the TatClass corresponding to AClassName, provided the current class is a descendant of it.
Remarks
For example, if this object represents TForm, calling CastFromString('TWinControl') returns the TatClass for TWinControl. An exception is raised if the named class is not an ancestor of this class or is not found.
Syntax
Unit: atScript
function TatClass.CastFromString(AClassName: string): TatClass;
Parameters
| <-> | Parameter | Type | Description |
|---|---|---|---|
| AClassName | string |