#921 – Keyboard Shortcuts Available in a TextBox Control

There are a number of keys that you can use as shortcuts for editing text within a TextBox control.  The most common are:

  • Left/Right Arrow keys:  Move cursor left or right within text
  • Up/Down Arrow keys:  Move cursor to previous/next line, maintaining position within line
  • Ctrl+Left/Right Arrow:  Move to beginning of previous/next word
  • Ctrl+Up Arrow:  Move to start of text
  • Ctrl+Down Arrow:  Move to end of text
  • Shift+Left/Right/Up/Down Arrow:  Move cursor while selecting text
  • Home key:  Move to beginning of current line
  • End key:  Move to end of current line
  • Shift+Home/End:  Select text to beginning/end of current line
  • Page Up/Down:  Move up/down full page
  • Insert key:  Toggle Insert/Overwrite mode
  • Delete key:  Delete character to right of cursor
  • Backspace key:  Delete character to right of cursor
  • Ctrl+A:  Select all text
  • Ctrl+X:  Cut selected text
  • Ctrl+C:  Copy selected text
  • Ctrl+V:  Paste text at current position
Advertisement

About Sean
Software developer in the Twin Cities area, passionate about software development and sailing.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: