# FieldPosX Property

> Returns the horizontal distance between the left border of the marked text field selected with FieldCurrent and the left border of TXTextControl.

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

---

Returns the horizontal position of a marked text field. The field identifier must have previously been determined with the [FieldCurrent](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/fieldcurrent-property/llms-full.txt) property.

### Syntax

```vbscript
TXTextControl.FieldPosX
```

### Data Types

Long.

### Limitations

Read only, run time only.

### Remarks

The property value is the distance in horizontal direction between the left border of the marked text field and the left border of the Text Control. It is not affected by the scrollbar positions.

### See Also

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

---

## Nearby

- **Previous:** [FieldNext Method](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/fieldnext-method/llms-full.txt)
- **Next:** [FieldPosY Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/fieldposy-property/llms-full.txt)
