# FieldAtInputPos Property

> Returns the identifier of the marked text field that contains the current input position, or zero when the input position is not inside a field.

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

---

Returns the field identifier of the field containing the input position. Zero is returned when the input position is not inside a field.

### Syntax

```vbscript
TXTextControl.FieldAtInputPos
```

### Data Types

Integer.

### Limitations

Read only, run time only.

### See Also

- [Marked Text Fields](https://docs.textcontrol.com/tx-text-control-activex/document-editor/fields/llms-full.txt)
- [Programming Category: Text Fields](https://docs.textcontrol.com/tx-text-control-activex/reference/categories/text-fields/llms-full.txt)

---

## Nearby

- **Previous:** [Error Event](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/error-event/llms-full.txt)
- **Next:** [FieldChangeable Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/fieldchangeable-property/llms-full.txt)
