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
Parameters
| 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
| Name | Data type |
|---|---|
| TargetIdOrName | Long or String |
| Return value | Boolean |