# Hypertext Links

> Insert, find and delete link targets and bookmarks in TXTextControl with TargetInsert and TargetGoto and react to clicked links with FieldLinkClicked.

- **Product:** TX Text Control ActiveX
- **Section:** Documentation
- **Kind:** Topic
- **Path:** TX Text Control ActiveX > API Reference > Programming Categories > Hypertext Links
- **780 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/categories/hypertext-links/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/categories/hypertext-links/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/categories/hypertext-links/llms-full.txt

---

Hypertext links in `TXTextControl` are marked text fields that point to a link target, a named position in the document. The members below insert, find, delete and jump to link targets, set the field type of a link and report a clicked link.

### Properties

| Member | Description |
|---|---|
| [`TXTextControl.FieldType`](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/fieldtype-property/llms-full.txt) | This property sets or returns the type of a marked text field. |
| [`TXTextControl.FieldTypeData`](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/fieldtypedata-property/llms-full.txt) | This property sets or returns the data that belongs to a marked text field of a special type. |
| [`TXTextControl.TargetAtInputPos`](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/targetatinputpos-property/llms-full.txt) | Returns the target identifier of the target at the current text input position. |
| [`TXTextControl.TargetData`](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/targetdata-property/llms-full.txt) | This property relates numeric or string data to a link target. |
| [`TXTextControl.TargetName`](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/targetname-property/llms-full.txt) | Returns or sets the name of a link target. |
| [`TXTextControl.TargetPos`](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/targetpos-property/llms-full.txt) | Returns the position of a target. |
| [`TXTextControl.TargetStart`](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/targetstart-property/llms-full.txt) | Returns the target's character index, one-based, in the document. |

### Methods

| Member | Description |
|---|---|
| [`TXTextControl.TargetDelete`](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/targetdelete-method/llms-full.txt) | This method can be used to delete a link target or bookmark from the document. |
| [`TXTextControl.TargetGoto`](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/targetgoto-method/llms-full.txt) | 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. |
| [`TXTextControl.TargetInsert`](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/targetinsert-method/llms-full.txt) | This method inserts a new link target or bookmark in the text at the current text input position. |
| [`TXTextControl.TargetNext`](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/targetnext-method/llms-full.txt) | This method returns the identifier of the link target that follows the specified target in the `TXTextControl`'s current text. |

### Events

| Member | Description |
|---|---|
| [`TXTextControl.FieldLinkClicked`](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/fieldlinkclicked-event/llms-full.txt) | Occurs when a marked text field has been clicked on that represents the source of a hypertext link. |
| [`TXTextControl.TargetCreated`](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/targetcreated-event/llms-full.txt) | Occurs when a link target or bookmark has been created. |
| [`TXTextControl.TargetDeleted`](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/targetdeleted-event/llms-full.txt) | Occurs when a link target or bookmark has been deleted. |

### Related Pages

- [Text Fields](https://docs.textcontrol.com/tx-text-control-activex/reference/categories/text-fields/llms-full.txt): insert, find and edit marked text fields.
- [Hypertext Links](https://docs.textcontrol.com/tx-text-control-activex/document-editor/fields/hyperlinks/llms-full.txt): insert hypertext links and respond to clicks.
- [Link Targets and Bookmarks](https://docs.textcontrol.com/tx-text-control-activex/document-editor/fields/link-targets-bookmarks/llms-full.txt): mark positions that links jump to.

---

## Nearby

- **Previous:** [Images, Text Frames, Signature Fields and OLE Objects](https://docs.textcontrol.com/tx-text-control-activex/reference/categories/images-objects/llms-full.txt)
- **Next:** [Clipboard Operations](https://docs.textcontrol.com/tx-text-control-activex/reference/categories/clipboard/llms-full.txt)
