# SectionAtInputPos Property

> Returns the number, starting at 1, of the section containing the text input position, or of the section at the side of a selection last extended; read only.

- **Product:** TX Text Control ActiveX
- **Section:** Documentation
- **Kind:** Property
- **Path:** TX Text Control ActiveX > API Reference > TXTextControl > SectionAtInputPos Property
- **110 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/sectionatinputpos-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/sectionatinputpos-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/sectionatinputpos-property/llms-full.txt

---

Returns the number of the section containing the current text input position. The first section has the number 1. If text is selected, the section at the selection's start position is returned. The start position is the side of the selection that has been last extended.

Introduced: 14.0.

### Syntax

```vbscript
TXTextControl.SectionAtInputPos
```

### Data Types

Integer.

### Limitations

Read only, run time only.

### See Also

- [Programming Category: Sections and Pages](https://docs.textcontrol.com/tx-text-control-activex/reference/categories/sections-pages/llms-full.txt)

---

## Nearby

- **Previous:** [ScrollPosY Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/scrollposy-property/llms-full.txt)
- **Next:** [SectionBreakKind Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/sectionbreakkind-property/llms-full.txt)
