# TableOfContentsEntered Event

> Occurs when the current text input position has been moved into a table of contents and passes the identifier of the entered table of contents.

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

---

Occurs when the current text input position has been moved to a position that belongs to a table of contents.

Introduced: 29.0.

### Syntax

```vbscript
TableOfContentsEntered(TOCId)
```

### Parameters

| Parameter | Description |
|---|---|
| TOCId | Is the identifier of the entered table of contents. |

### Data Types

| Name | Data type |
|---|---|
| TOCId | Long |

### See Also

- [TableOfContentsLeft Event](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/tableofcontentsleft-event/llms-full.txt)
- [Programming Category: Using a Table of Contents](https://docs.textcontrol.com/tx-text-control-activex/reference/categories/table-of-contents/llms-full.txt)

---

## Nearby

- **Previous:** [TableOfContentsDialog Method](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/tableofcontentsdialog-method/llms-full.txt)
- **Next:** [TableOfContentsLeft Event](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/tableofcontentsleft-event/llms-full.txt)
