TXTextControl.TargetGoto 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
Parameter Description
TargetIdOrName

Specifies 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

TargetId: Long
Return value: Boolean

See Also