# FieldEditAttr Property

> Sets editing attributes of a marked text field as combined flags: extra input positions at the edges, caret width, background and double-click handling.

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

---

This property returns or sets attributes for advanced editing inside marked text fields.

### Syntax

```vbscript
TXTextControl.FieldEditAttr(FieldId) [= Attr]
```

### Parameters

| Parameter | Description |
|---|---|
| FieldId | Identifies the field that is to be manipulated. Possible property settings are listed in Constants. |

### Constants

The following lists the possible property values. These values can be combined by adding the desired constant values. Changing one option does not affect the other. The default value of a newly inserted field is: &H2 + &H8 + &H20 + &H80

| Constant | Description |
|---|---|
| &H1 | Implements a second character input position at the beginning and the end of the specified marked text field. |
| &H2 | Performs normal editing at the beginning and the end of the specified marked text field. |
| &H4 | Changes the width of the caret when the character input position is inside the specified marked text field. |
| &H8 | Uses the normal text caret when the character input position is inside the specified marked text field. |
| &H10 | Displays the text of the specified marked text field with a gray background when the input position is inside this field. |
| &H20 | Displays the text of the specified marked text field with the standard control background when the input position is inside this field. |
| &H40 | Enables the normal double-click processing inside marked text fields that starts a wordwise selection. The [TXTextControl.FieldDblClicked](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/fielddblclicked-event/llms-full.txt) is suppressed. |
| &H80 | Disables the normal double-click processing inside marked text fields. The [TXTextControl.FieldDblClicked](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/fielddblclicked-event/llms-full.txt) is enabled. |

### Data Types

Integer.

### Limitations

Run time only.

### See Also

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

---

## Nearby

- **Previous:** [FieldDescriptiveText Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/fielddescriptivetext-property/llms-full.txt)
- **Next:** [FieldEnd Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/fieldend-property/llms-full.txt)
