TX Text Control ActiveX

TargetNext Method

Method

This method returns the identifier of the link target that follows the specified target in the Text Control's current text. It can be used to find the next target in the text or to enumerate all targets.

Introduced: 28.0.

Syntax

TXTextControl.TargetNext TargetId

Parameters

ParameterDescription
TargetIdSpecifies the target's unique identifier. This must be the value returned from the TargetInsert method. If this parameter is zero, the identifier of the first target is returned.

Return Value

The method returns the identifier of the target that follows the specified target. It returns zero when there is no following target.

Data Types

NameData type
TargetIdLong
Return valueLong

See Also