# Keyboard Commands
> [HTML Version](keyboardcommands.htm)
__
| **Key** | **Description** |
|------|------|
| Ctrl+A | If |K, select field, else if |a, _exitcode_ 19. Else previous word. |
| Ctrl+B | If |B, _exitcode_ 16, else ignored |
| Ctrl+C | See [Ctrl+C Behavior](ctrlcbehavior.htm.md). |
| Ctrl+D | Same as Delete |
| Ctrl+E | Same as End |
| Ctrl+F | Insert space |
| Ctrl+G | If SBR=TTI\_PGRW, _exitcode_ 8, else ignored |
| Ctrl+H | Same as Left-arrow |
| Ctrl+I | Same as Tab |
| Ctrl+E | Same as End |
| Ctrl+F | Insert space |
| Ctrl+G | If SBR=TTI\_PGRW, _exitcode_ 8, else ignored |
| Ctrl+H | Same as Left-arrow |
| Ctrl+I | Same as Tab |
| Ctrl+J | Same as Down-arrow |
| Ctrl+K | Same as Up-arrow |
| Ctrl+L | Same as Right-arrow |
| Ctrl+M | Same as Enter |
| Ctrl+N | Move cursor to end of field |
| Ctrl+O | If |B, _exitcode_ 17, else ignore |
| Ctrl+P | If |Q, _exitcode_ 25, else launch Screen Pictures utility |
| Ctrl+Q | Toggle insert/replace mode (see INS) |
| Ctrl+R | Same as Page-Up |
| Ctrl+S | If |C, _exitcode_ 26, else ignore |
| Ctrl+T | Same as Page-Down |
| Ctrl+U | If |U, _exitcode_ 21, else move cursor to start of field |
| Ctrl+V | If |K paste contents of clipboard, else delete word |
| Ctrl+W | If |W, display "Not Processed" message and set _exitcode_ 1 |
| Ctrl+X | If |X\*, treat like Ctrl+\*; else fold the field contents. See note 1 below. |
| Ctrl+Y | Delete to end of field |
| Ctrl+Z | If |Z, _exitcode_ 18, else if |K undo last delete, else delete entire field |
| Ctrl+\[ | Same as Escape |
| Ctrl+\\ | Display information dialog showing current INFLD parameters |
| Ctrl+^ | Same as Home |
| Ctrl+Shft+Alt+S | Copies the current text window to the clipboard. |
| Enter | If ||T, _exitcode_ 7 (as if Tab); else _exitcode_ 0. See Force destructive enter |
| Esc (Escape) | If E, _exitcode_ 2, else if 1, _exitcode_ 1 |
| Del (Delete) | Delete character (or all selected characters) (Same as Ctrl+D) |
| Ins (Insert) | If GUI mode (|G) or |K, toggles insert/replace mode (same as Ctrl+Q); else inserts a space (same as Ctrl+F) |
| Home | If 9, _exitcode_ 9, else if |K or |M treat like Ctrl+U (move to beginning of field or line) (Same as ^^) |
| End | If k, _exitcode_ 15, else if |K, end of field, else if neither W nor C, _exitcode_ 1 (Same as Ctrl+E) |
| Tab | If T, _exitcode_ 7, else if |K tret like Enter |
| Shift+Tab | If |G (GUI mode), then if |2, _exitcode_ 2, else if treat like Up-arrow. Ignored in non-GUI (text) mode. |
| PageUp | If 4, _exitcode_ 4, else ignore (same as Ctrl+R) |
| Page-Down | If 6, _exitcode_ 6, else ignore (same as Ctrl+T) |
| Left-Arrow | If cursor not in first position, move cursor to left, else if E or 2, _exitcode_ 2, else if |p treat like Enter. See note 1 below. |
| Up-Arrow | If 2, _exitcode_ 2, else if 3 or |3 _exitcode_ 3, else ignore. See note 1 below. |
| Right-Arrow | If |L _exitcode_ 12, else if L and cursor at right end of field, _exitcode_ 12, else move cursor right. See note 1 below. |
| Down-Arrow | If ||a jump into drop-down (auto-complete) box, else if 5 or |5 _exitcode_ 5. See note 2 below. |
| Alt+Backspace | If |K, undo last delete |
| Alt+ | If a control in the current window context uses the specified character as an accelerator, acts like the control had been clicked (typically this will generate the exitcode associated with the control) See the AUI\_CONTROL [cmd](cmd_aui_control.htm.md) parameter for more information on defining the click action for a control. |
_Note 1: _In Ctrl+\*, the \* (asterisk) may be any character A through Z plus \[,\],\\,^,\_). The fold operation is a three-way toggle between all upper case, all lower case, title case.
_Note 2:_ In some contexts, like within special-purpose GUI controls such as the date picker or up/down control, the arrow keys may only work within the control. In such cases, to get the exitcode behavior described in the table above, you can use Ctrl+Arrow.