# ReadOnly Property

> Returns or sets the read only mode of a TXButtonBar: when True it shows the formatting of the connected TextControl but can't change it; False by default.

- **Product:** TX Text Control ActiveX
- **Section:** Documentation
- **Kind:** Property
- **Path:** TX Text Control ActiveX > API Reference > TXButtonBar > ReadOnly Property
- **141 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/txbuttonbar/readonly-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/txbuttonbar/readonly-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/txbuttonbar/readonly-property/llms-full.txt

---

Returns or sets a value determining the button bar's read only mode. When the button bar is set to read only, it still shows all formatting attributes of the connected TextControl, but formatting attributes cannot be changed.

Introduced: 24.0.

### Syntax

```vbscript
TXButtonBar.ReadOnly [= boolean]
```

| Setting | Description |
|---|---|
| True | Formatting attributes cannot be changed. |
| False | (Default) Formatting attributes can be changed. |

### Data Types

Boolean.

### See Also

- [Programming Category: Tool Bars](https://docs.textcontrol.com/tx-text-control-activex/reference/categories/toolbars/llms-full.txt)

---

## Nearby

- **Previous:** [PosZoom Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txbuttonbar/poszoom-property/llms-full.txt)
- **Next:** [ResourceFile Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txbuttonbar/resourcefile-property/llms-full.txt)
