# EditableRegionHighlightMode Property

> Determines how editable regions are highlighted in the document: never (txNever), only when they contain the input position (txActivated) or always (txAlways).

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

---

This property returns or sets a value determining how editable regions are highlighted in the document. Editable regions can be highlighted always, never or only when the region contains the current text input position.

Introduced: 30.0.

### Syntax

```vbscript
TXTextControl.EditableRegionHighlightMode [= Mode]
```

### Constants

The following lists the possible property values:

| Constant | Description |
|---|---|
| 1 - txNever | Editable regions are not highlighted. |
| 2 - txActivated | An editable region is only highlighted when it contains the current text input position. |
| 3 - txAlways | Default value. Editable regions are always highlighted. |

### Data Types

Integer.

### Limitations

Run time only.

### See Also

- [Programming Category: Restricted Document Access](https://docs.textcontrol.com/tx-text-control-activex/reference/categories/restricted-access/llms-full.txt)

---

## Nearby

- **Previous:** [EditableRegionGoto Method](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/editableregiongoto-method/llms-full.txt)
- **Next:** [EditableRegionInsert Method](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/editableregioninsert-method/llms-full.txt)
