TXTextControl.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
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.

Remarks

If there are more than one object with this name, the unique programming identifier of the first found object is returned.

Data Types

ObjectName:    String
Return value:    Integer

See Also