# Keyboard Assignment for Hyphens

> Insert hyphens, non-visible hyphens, compound word hyphens and en and em dashes in TXTextControl from the keyboard, and where words may be divided.

- **Product:** TX Text Control ActiveX
- **Section:** Documentation
- **Kind:** Topic
- **Path:** TX Text Control ActiveX > API Reference > Mouse and Keyboard Assignment > Keyboard Assignment for Hyphens
- **188 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/assignments/hyphens/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/assignments/hyphens/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/assignments/hyphens/llms-full.txt

---

`TXTextControl` inserts five kinds of hyphens and dashes from the keyboard. They differ in how they look and in whether a word can be divided at their position at the end of a line.

### Hyphen Keys

| Key | Inserted hyphen | Divide position |
|---|---|---|
| (-) | Hyphen, minus sign | Yes |
| CTRL + (-) | Non-visible hyphen | Yes |
| CTRL + SHIFT + (-) | Compound word | No |
| CTRL + (-) on the numeric keypad | En dash | Yes |
| CTRL + ALT + (-) on the numeric keypad | Em dash | Yes |

### Related Pages

- [Keyboard Assignment](https://docs.textcontrol.com/tx-text-control-activex/reference/assignments/keyboard/llms-full.txt): keys that move the caret, edit text and insert breaks and special spaces.
- [Mouse and Keyboard Assignment](https://docs.textcontrol.com/tx-text-control-activex/reference/assignments/llms-full.txt): every mouse action and key of the control.

---

## Nearby

- **Previous:** [Additional Mouse and Keyboard Assignment in Tables](https://docs.textcontrol.com/tx-text-control-activex/reference/assignments/tables/llms-full.txt)
- **Next:** [Supported Formula Functions](https://docs.textcontrol.com/tx-text-control-activex/reference/formula-functions/llms-full.txt)
