# TextFrameBackColor Property

> Returns or sets the background color of the text frame determined by ObjectCurrent as an RGB color from 0 to &HFFFFFF or a system color. Run time only.

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

---

Returns or sets the background color of a text frame. TX Text Control uses the Microsoft Windows operating environment red-green-blue (RGB) color scheme. The [ObjectCurrent](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/objectcurrent-property/llms-full.txt) property determines the text frame.

Introduced: 12.0.

### Syntax

```vbscript
TXTextControl.TextFrameBackColor [= value]
```

| Setting | Description |
|---|---|
| RGB colors | The valid range for a RGB color is 0 to &HFFFFFF. The high byte of a number in this range equals 0; the lower 3 bytes, from least to most significant byte, determine the amount of red, green, and blue, respectively. The red, green, and blue components are each represented by a number between 0 and 255 (&HFF). |
| System colors | Colors specified by the system color constants. If the high byte is not 0, TX Text Control uses the system colors, as defined in the user's Control Panel settings. |

### Data Types

Long.

### Limitations

Run time only.

### See Also

- [Programming Category: Images, Text Frames, Signature Fields and OLE Objects](https://docs.textcontrol.com/tx-text-control-activex/reference/categories/images-objects/llms-full.txt)

---

## Nearby

- **Previous:** [TextFrameActivated Event](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/textframeactivated-event/llms-full.txt)
- **Next:** [TextFrameBorderWidth Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/textframeborderwidth-property/llms-full.txt)
