TX Text Control ActiveX

ObjectGetFromName Method

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

ParameterDescription
ObjectNameSpecifies 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

NameData type
ObjectNameString
Return valueInteger

Remarks

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

See Also