# ReadOnly Property

> Sets a TXRulerBar to read only mode: when True, the ruler still shows the formatting of the connected TextControl, but users cannot change it there.

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

---

Returns or sets a value determining the ruler bar's read only mode. When the ruler 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
TXRulerBar.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:** [MouseUp Event](https://docs.textcontrol.com/tx-text-control-activex/reference/txrulerbar/mouseup-event/llms-full.txt)
- **Next:** [ResourceFile Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txrulerbar/resourcefile-property/llms-full.txt)
