Text Box - Standard Functionality

Standard Functionality

Typical implementations allow a user to do the following:

  • Type in text using a keyboard
    • When keys are pressed, the text appears where the caret is. Some very simple text boxes may not show a caret, which would suggest that new characters typed in will appear at the end of the current text.
  • Navigate and select portions of text
    • Using a mouse:
      • Change the caret position by clicking the desired point with a mouse cursor;
      • Select a portion of text by pressing the main mouse button while pointing the cursor at one end of the desired part of the text and dragging the cursor to the other end while holding the button pressed.
    • Using the keyboard:
      • Pressing arrow keys changes caret position by one character or line (in multiline text boxes);
      • Pressing Home/End keys (Microsoft's Windows OS) or Command-left arrow/Command-right arrow (Apple's Mac OS) moves the caret to the beginning/end of the line;
      • Pressing Page Up/Down moves the caret a page (the number of lines that can be displayed in the text box at a time) backward/forward (Windows) or moves the scrollbar thumb a page backward/forward without changing the caret position (Mac OS);
      • Holding the Ctrl key (Windows) while pressing arrow keys or Home/End keys makes the caret move at larger steps - e.g. words or paragraphs or beginning/end of document;
      • Holding the Option key (Mac OS) while pressing arrows moves the caret whole words or paragraphs;
      • Holding the Command key while pressing up or down arrows (Mac OS) or Holding the Ctrl key while pressing home/end (Windows) moves the caret to the beginning or end of the document;
      • Holding the shift key while changing the caret position with a mouse or keyboard selects the text between the caret position from when shift was first pressed and its current position.
  • Edit the text (enable changing the text already entered)
    • Work in insert or overwrite mode, typically switched using Insert key. In insert mode if there is a character to the right of the caret, the new character will be inserted before it, while in overwrite mode typing a new character will replace (overwrite) the character to the right of the caret position.
    • Typing in a text while some part of the text already entered is selected will replace the selected text.
    • Delete/Backspace keys remove one character right/left of current caret position, while pressing them together with the Ctrl or command key removes one word.
    • Edit the text using standard clipboard operations.
  • Undo/Redo changes with Ctrl+Z/Ctrl+Y (Windows) or command-Z/command-shift-Z (Mac OS)

The keys indicated relate to the text box widget in Microsoft Windows and Mac OS X; similar if not identical keyboard bindings exist under the X Window System and other systems, and typically follow the same scheme as Windows.

GUI widgets
Command input
  • Button
  • Context menu
  • Menu
  • Pie menu
Data input-output
  • Checkbox
  • Combo box
  • Cycle button
  • Drop-down list
  • Grid view
  • List box
  • Radio button
  • Scrollbar
  • Slider
  • Spinner
  • Search box
  • Text box
Informational
  • Balloon help
  • Heads-up display in computing
  • Heads-up display in video games
  • Icon
  • Infobar
  • Label
  • Loading screen
  • Progress bar
  • Sidebar
  • Splash screen
  • Status bar
  • Throbber
  • Toast
  • Tooltip
Containers
  • Accordion
  • Disclosure widget
  • Frame/Fieldset
  • Menu bar
  • Panel
  • Ribbon
  • Tab
  • Toolbar
  • Window
Navigational
  • Address bar
  • Breadcrumb
  • Hyperlink
  • Tree view
Special windows
  • About box
  • Alert dialog box
  • Dialog box
  • File dialog
  • Inspector window
  • Modal window
  • Palette window
Related concepts
  • Layout manager
  • Look and feel
  • Mouseover
  • Widget toolkit
  • WIMP

Read more about this topic:  Text Box

Famous quotes containing the word standard:

    I don’t have any problem with a reporter or a news person who says the President is uninformed on this issue or that issue. I don’t think any of us would challenge that. I do have a problem with the singular focus on this, as if that’s the only standard by which we ought to judge a president. What we learned in the last administration was how little having an encyclopedic grasp of all the facts has to do with governing.
    David R. Gergen (b. 1942)