# FieldHighlightColor Property

> Returns or sets the highlight color of the text field with the given FieldId as a Long color value, used with FieldHighlightMode; available at run time only.

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

---

This property returns or sets the highlight color of a text field.

Introduced: 27.0.

### Syntax

```vbscript
TXTextControl.FieldHighlightColor(FieldId) [= Color]
```

### Parameters

| Parameter | Description |
|---|---|
| FieldId | Identifies the field which highlight color is returned or set. |

### Data Types

| Name | Data type |
|---|---|
| FieldId | Integer |
| Property value | Long |

### Limitations

Run time only.

### See Also

- [Marked Text Fields](https://docs.textcontrol.com/tx-text-control-activex/document-editor/fields/llms-full.txt)
- [FieldHighlightMode Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/fieldhighlightmode-property/llms-full.txt)
- [FieldHighlightTransparency Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/fieldhighlighttransparency-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:** [FieldGoto Method](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/fieldgoto-method/llms-full.txt)
- **Next:** [FieldHighlightMode Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/fieldhighlightmode-property/llms-full.txt)
