# KeyStateChange Event

> Occurs when the character insertion mode of the TXTextControl or the state of the NUMLOCK or CAPSLOCK key has been changed. The event has no parameters.

- **Product:** TX Text Control ActiveX
- **Section:** Documentation
- **Kind:** Event
- **Path:** TX Text Control ActiveX > API Reference > TXTextControl > KeyStateChange Event
- **Web URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/keystatechange-event/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/keystatechange-event/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/keystatechange-event/llms-full.txt

---

## On This Page

- [Syntax](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/keystatechange-event/#syntax)
- [See Also](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/keystatechange-event/#see-also)

---

## Nearby

- **Previous:** [KeyPress Event](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/keypress-event/llms.txt)
- **Next:** [KeyUp Event](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/keyup-event/llms.txt)
