# CommentedTextEntered Event

> Occurs when the caret has moved into a commented piece of text; the CommentId parameter passes the Long identifier of the comment that was entered.

- **Product:** TX Text Control ActiveX
- **Section:** Documentation
- **Kind:** Event
- **Path:** TX Text Control ActiveX > API Reference > TXTextControl > CommentedTextEntered Event
- **135 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/commentedtextentered-event/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/commentedtextentered-event/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/commentedtextentered-event/llms-full.txt

---

Occurs when the current input position indicated by the caret has been moved to a position that belongs to a commented piece of text.

Introduced: 30.0.

### Syntax

```vbscript
CommentedTextEntered(CommentId)
```

### Parameters

| Parameter | Description |
|---|---|
| CommentId | Is the identifier of the entered comment. |

### Data Types

| Name | Data type |
|---|---|
| CommentId | Long |

### See Also

- [Programming Category: Commenting a document](https://docs.textcontrol.com/tx-text-control-activex/reference/categories/comments/llms-full.txt)

---

## Nearby

- **Previous:** [CommentEdit Method](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/commentedit-method/llms-full.txt)
- **Next:** [CommentedTextLeft Event](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/commentedtextleft-event/llms-full.txt)
