Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
Using Your HP Workstation > Chapter 3 Learning Basic Skills

Using Controls in Application Windows

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Glossary

 » Index

Windows contain standard sets of controls to help you manipulate the application's data. The figure below shows a typical application window with some of these controls.

Figure 3-16  Application windows have several controls.

Application windows have several controls.
  • Text fields provide an area where you can type information.

  • Lists display a list of choices from which you can select.

  • Scroll bars provide a means to display text that extends beyond a window's display area.

  • Buttons execute commands, start actions, or specify options and settings. Types of buttons include push buttons, toggle buttons, and radio buttons.

Entering Text Into an Empty Field

Figure 3-17  A text field accepts information you type.

A text field accepts information you type.

Mouse. 

  1. Click the field to get the text insertion cursor.

  2. Start typing.

Keyboard. 

  1. Press Tab, Shift+Tab, or the arrow keys until you reach the field.

  2. Start typing.

Editing Text in a Field

Mouse. 

  1. Select the text in the field to edit:

    • Character(s): Move the pointer to the first character and drag the pointer to the last character.

    • Word: Double-click the word.

    • Line: Triple-click the line.

    • Multi-line field: Quadruple-click the field.

  2. Type the replacement text.

Keyboard. 

  1. Press Tab, Shift+Tab, or the arrow keys until you reach the field.

  2. Use the editing keys to edit its contents.

Editing Keys . 

Arrow Keys up down left right

Move the text insertion cursor.

Backspace

Delete the character before the cursor.

Delete char or Del

Delete the character following the cursor.

CTRL and Delete char or CTRL and Del

Delete all the characters from the cursor to the end of the current line.

Cutting and Pasting Text into Windows

Cutting and pasting eliminates the need to retype text. You can cut from and paste into:

  • Text fields.

  • Terminal windows.

  • Editor windows.

Cutting Text. 

  1. Move the pointer over the first character you want to cut.

  2. Press and hold down mouse button 1.

  3. Drag the pointer over the text you want to move. The text appears highlighted.

  4. Release mouse button 1 after all the text you want to cut is highlighted. The highlighted text is copied to an internal "clipboard". The text is not removed from your original source.

Pasting Text. 

  1. Position the cursor where you want to insert the text.

  2. Click mouse button 2. A copy of the contents of the clipboard is pasted at the location you indicated. You can make additional copies by repeating the above steps.

  3. To unselect text, click mouse button 1 in an empty area of the window that has the text selected, or press ESC.

When you cut text, it is stored temporarily in a buffer. This buffer can hold only one item at a time. If you cut another piece of text before pasting the first piece, the second piece of text will overwrite the first in the buffer.

Choosing a List Item

A selected list item is highlighted. The selected item is acted upon when a command, such as OK, is chosen.

Figure 3-18  Selected list items are highlighted.

Selected list items are highlighted.

Mouse. 

  1. Click the list item.

  2. Choose a command, such as OK.

NOTE: In some lists, double-clicking an item selects the item and chooses the default command.

Keyboard. 

  1. Tab to the list.

  2. Select the list item:

    • In a single-selection list, use the arrow keys to reach your choice.

    • In a multiple-selection list, use the arrow keys to reach your choice, then press the space bar. To unselect the item, press the space bar again.

    Figure 3-19  Single- and multiple-selection lists are available.

    Single- and multiple-selection lists are available.
  3. Choose a command, such as OK.

Scrolling the Contents of a Window

On many occasions you will need to scroll a window in order to see text that is beyond the size of the window, either horizontally or vertically. Horizontal and vertical scroll bars let you accomplish this easily.

Mouse.  Use the scroll bar.

Figure 3-20  Scroll bars let you view all of a window's contents.

Scroll bars let you view all of a window's contents.
  • Click the top arrow to go up one line.

  • Click in the trough above the slider to go up one page.

  • Drag the slider to scroll incrementally.

  • Click in the trough below the slider to go down one page.

  • Click the bottom arrow to go down one line.

Keyboard. 

  1. Move to the window area you want to scroll.

  2. Use the arrow keys, Prev and Next, or Pg Up and Pg Down.

Choosing a Push Button

Choosing a push button immediately performs the associated command or action. For example, choosing an OK button applies any changes made to a dialog, then closes it.

Mouse. Move the pointer over the button and click mouse button 1.

Keyboard. 

  1. Use Tab and the arrow keys until you reach the button.

  2. Press Enter.

Selecting a Toggle Or a Radio Button

Toggle buttons are square-shaped, and you can select as many as you want. Radio buttons are diamond-shaped, and you can select only one at any time.

Figure 3-21  Example radio and toggle buttons.

Example radio and toggle buttons.

Selecting a toggle button specifies the action or setting to occur when a command, such as OK, is performed. Selecting a radio button also specifies an option or setting, but only one radio button in a group can be selected at a time.

Mouse. Move the pointer over the button and click mouse button 1.

To unselect the button, move the pointer over a selected button and click mouse button 1.

Keyboard. 

  1. Use Tab and the arrow keys until you reach the button.

  2. Press the space bar.

Using Sliders

Sliders are controls that you use to adjust the value of some application parameter. In many cases, the value is displayed near the slider.

Figure 3-22  Use slider controls to adjust values.

Use slider controls to adjust values.

Mouse. 

  1. Move the mouse pointer over the slider

  2. Press and hold mouse button 1.

  3. Move the mouse so that the slider moves in the desired direction.

  4. Release the button when you have finished.

Keyboard. 

  1. Press Tab or an arrow key until you reach the slider.

  2. Use the arrow keys to move the slider incrementally.

NOTE: To move the slider faster, press and hold CTRL, and then press the arrow key.
Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© © 1983-1995 Hewlett-Packard Development Company, L.P.