# Keyboard Assignment

> Keys and shortcuts of TXTextControl that move the caret, delete words, undo, insert page and column breaks and non-breaking spaces, and extend selections.

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

---

The keyboard interface of `TXTextControl` moves the caret, edits and deletes text and inserts page breaks, column breaks, hyphens and non-breaking spaces. The table lists each key or key combination and what the control does in response.

### Keys

| Key | What `TXTextControl` does |
|---|---|
| HOME | Moves the caret to the beginning of the line. |
| END | Moves the caret to the end of the line. |
| Left Arrow | Moves the caret one character to the left. |
| Right Arrow | Moves the caret one character to the right. |
| Up Arrow | Moves the caret one line up. |
| Down Arrow | Moves the caret one line down. |
| CTRL + Left Arrow | Moves the caret to the beginning of the current word. |
| CTRL + Right Arrow | Moves the caret to the beginning of the next word. |
| CTRL + HOME | Moves the caret to the start of the text. |
| CTRL + END | Moves the caret to the end of the text. |
| CTRL + ENTER | Inserts a new page. |
| SHIFT + ENTER | Creates a line feed without beginning a new paragraph. |
| CTRL + (-) | Inserts an end-of-line hyphen. |
| DEL | Deletes the selected text. |
| CTRL + X | Copies the selected text to the clipboard and deletes the selection. |
| CTRL + V | Copies the selected text to the clipboard. |
| CTRL + Z | Undoes the last action. |
| CTRL + Y | Restores the last action. |
| CTRL + SHIFT + Spacebar | Inserts a non-breaking space. |
| CTRL + Backspace | Deletes the previous word. |
| SHIFT + Backspace | Deletes the previous word. |
| CTRL + SHIFT + ENTER | Inserts a page column break. |

### Extend the Selection

Pressing a key while SHIFT is pressed extends the current selection to the new caret position. SHIFT + END, for example, selects the text from the caret to the end of the line.

### Related Pages

- [Mouse Assignment](https://docs.textcontrol.com/tx-text-control-activex/reference/assignments/mouse/llms-full.txt): clicks, drags and scroll keys and what they select, move or copy.
- [Additional Mouse and Keyboard Assignment in Tables](https://docs.textcontrol.com/tx-text-control-activex/reference/assignments/tables/llms-full.txt): keys and clicks that select cells, rows and columns in tables.
- [Keyboard Assignment for Hyphens](https://docs.textcontrol.com/tx-text-control-activex/reference/assignments/hyphens/llms-full.txt): keys that insert hyphens and dashes and whether a word may be divided there.
- [Undo](https://docs.textcontrol.com/tx-text-control-activex/reference/categories/undo/llms-full.txt): the members for undo and redo in code.

---

## Nearby

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