# HeaderFooterAtInputPos Property

> Returns which part owns the input position: header, footer, first page or even header or footer, or txMainText (16). SectionCurrent receives the section.

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

---

Returns which header or footer owns the current text input position. To own the current text input position a header or footer must be activated. Even if a header or footer loses the current input focus to another program, it remains activated and owns the current text input position furthermore. The [SectionCurrent](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/sectioncurrent-property/llms-full.txt) property receives the section number. It is either the number of the section (one-based), the activated header or footer belongs to, or the number of the section in the main text that contains the current text input position.

Introduced: 12.0.

### Syntax

```vbscript
TXTextControl.HeaderFooterAtInputPos
```

| Setting | Description |
|---|---|
| txHeader (1) | The header owns the text input position. |
| txFirstHeader (2) | The special header for the first page owns the text input position. |
| txFooter (4) | The footer owns the text input position. |
| txFirstFooter (8) | The special footer for the first page owns the text input position. |
| txMainText (16) | The main text owns the text input position. |
| txEvenHeader (128) | The even header owns the text input position. |
| txEvenFooter (256) | The even footer owns the text input position. |

### Data Types

Integer.

### Limitations

Read only, run time only.

### See Also

- [Headers and Footers](https://docs.textcontrol.com/tx-text-control-activex/document-editor/headers-footers/llms-full.txt)
- [TableAtInputPos Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/tableatinputpos-property/llms-full.txt)
- [FieldAtInputPos Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/fieldatinputpos-property/llms-full.txt)
- [Programming Category: Headers and Footers](https://docs.textcontrol.com/tx-text-control-activex/reference/categories/headers-footers/llms-full.txt)

---

## Nearby

- **Previous:** [HeaderFooterActivated Event](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/headerfooteractivated-event/llms-full.txt)
- **Next:** [HeaderFooterConnectedToPrevious Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/headerfooterconnectedtoprevious-property/llms-full.txt)
