TX Text Control ActiveX

TargetGoto Method

Method

Sets the current text input position to the position of the specified link target and scrolls the text so that this position is at the top of the control's visible text.

Introduced: 28.0.

Syntax

TXTextControl.TargetGoto TargetIdOrName

Parameters

ParameterDescription
TargetIdOrNameSpecifies the target's unique identifier or name. The id must be the value returned from the TargetInsert method, the name must be the target's TargetName.

Return Value

If the target could be found the method returns True, otherwise it returns False.

Data Types

NameData type
TargetIdOrNameLong or String
Return valueBoolean

See Also