# LockWindowUpdate Property

> Disables and reenables redrawing of TXTextControl so that several properties can be set in a row without repeated refreshing and flickering; run time only.

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

---

Disables or reenables redrawing. This property is useful to disable redrawing when setting several properties and reenables redrawing afterwards. This avoids multiple refreshing and flickering.

### Syntax

```vbscript
TXTextControl.LockWindowUpdate = boolean
```

| Setting | Description |
|---|---|
| True | Redrawing is disabled. |
| False | (Default) Redrawing is enabled. |

### Data Types

Boolean.

### Limitations

Run time only.

### See Also

- [Programming Category: Control Settings](https://docs.textcontrol.com/tx-text-control-activex/reference/categories/control-settings/llms-full.txt)

---

## Nearby

- **Previous:** [LocaleDialog Method](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/localedialog-method/llms-full.txt)
- **Next:** [MisspelledWordAtInputPos Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/misspelledwordatinputpos-property/llms-full.txt)
