# FieldLinkClicked Event

> Occurs when a hypertext link field is clicked, with FieldId, the txFieldExternalLink or txFieldInternalLink type and the address or target name as TypeData.

- **Product:** TX Text Control ActiveX
- **Section:** Documentation
- **Kind:** Event
- **Path:** TX Text Control ActiveX > API Reference > TXTextControl > FieldLinkClicked Event
- **340 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/fieldlinkclicked-event/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/fieldlinkclicked-event/llms.txt
- **LLMs-Full URL:** 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.

### Syntax

```vbscript
FieldLinkClicked(FieldId, FieldType, TypeData)
```

### Parameters

| Parameter | Description |
|---|---|
| FieldId | Is the identifier of the field that has been clicked on. |
| FieldType | Is the type of the field that has been clicked on. This event occurs only for fields of the types txFieldExternalLink and txFieldInternalLink. |
| TypeData | Specifies a character string that is the information to where the link points. This data has either been set with the [FieldTypeData](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/fieldtypedata-property/llms-full.txt) property, the [TargetName](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/targetname-property/llms-full.txt) property or has been created through a text filter. For fields of the type txFieldExternalLink this can be any kind of address or file name. For fields of the type txFieldInternalLink this is the [TargetName](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/targetname-property/llms-full.txt) of a link target. |

### Data Types

| Name | Data type |
|---|---|
| FieldId | Integer |
| FieldType | Integer |
| TypeData | String |

### See Also

- [Marked Text Fields](https://docs.textcontrol.com/tx-text-control-activex/document-editor/fields/llms-full.txt)
- [FieldTypeData Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/fieldtypedata-property/llms-full.txt)
- [Programming Category: Hypertext Links](https://docs.textcontrol.com/tx-text-control-activex/reference/categories/hypertext-links/llms-full.txt)

---

## Nearby

- **Previous:** [FieldLeft Event](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/fieldleft-event/llms-full.txt)
- **Next:** [FieldLinkTargetMarkers Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/fieldlinktargetmarkers-property/llms-full.txt)
