ObjectGetFromName Method
Looks for the object with the specified name. It must be a name previously set with the ObjectName property.
Introduced: 15.1.
Syntax
TXTextControl.ObjectGetFromName ObjectName
Parameters
| Parameter | Description |
|---|---|
| ObjectName | Specifies the name of the object. |
Return Value
The method returns the object's unique programming identifier. This identifier can be used with the ObjectCurrent property to get or to alter the object's attributes.
Data Types
| Name | Data type |
|---|---|
| ObjectName | String |
| Return value | Integer |
Remarks
If there are more than one object with this name, the unique programming identifier of the first found object is returned.