Overload List
| # | Signature | Description |
|---|---|---|
| 1 | function DefineCustomValue(const AVarName: string): TCustomValue; | Define type and initialize to nil. |
| 2 | function DefineCustomValue(const AVarName: string; const obj: TObject): TCustomValue; | Define new custom object variable. |
Overload 1: function DefineCustomValue(const AVarName: string): TCustomValue;
Define type and initialize to nil.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | AVarName | string |
Returns: TCustomValue
Overload 2: function DefineCustomValue(const AVarName: string; const obj: TObject): TCustomValue;
Define new custom object variable.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | AVarName | string | |
| 2 | obj | TObject |
Returns: TCustomValue
Remarks:
The function receiving this variable needs to check for correct type of object and report an error if not as expected.