computer software
computer software
Dialog Boxes Dialog Boxes
Dialog Boxes   Home | About Us | Products | Services | News | Contact Us | Links Dialog Boxes
Dialog Boxes Dialog Boxes


Dialog Boxes
Copyright © 2009
Dialog Boxes

Dialog boxes let you enter new information or view or change existing settings. A dialog box is a small temporary window that a program displays to respond to a command or event (Figure 1.43).

Tips

  • Dialog boxes appear when you must enter more information to complete a command. See the sidebar in “Menus” earlier in this chapter.
  • The specialized dialog boxes for saving and opening files are covered in “Saving Documents” and “Opening Documents” in Chapter 6.

OK, Cancel, Apply

Most dialog boxes have an OK button and a Cancel button, and many have an Apply button too. The differences are:
OK. Saves your changes and closes the dialog box (often equivalent to pressing Enter).
Cancel. Discards your changes and closes the dialog box (equivalent to pressing Esc).
Apply. Saves your changes and leaves the dialog box open for more changes. Apply is handy if you want to try out a change with the chance to change it right back.
The Apply button’s behavior has a slight wrinkle: If you click Apply and then click Cancel, changes made before you click Apply are saved, but changes made after you click Apply are lost—usually, that is. Some programs behave differently.

The differences between dialog boxes and normal windows are:

  • File Open and File Save As dialog boxes usually are resizable, to let you vary the number of files that they display. Most other dialog boxes aren’t resizable.
  • Some open dialog boxes won’t let you keep working in their program until you close them. You still can use other programs, though.
  • When you edit text in a dialog box, you can’t use the Edit menu to cut, copy, and paste, but you can use keyboard shortcuts (Ctrl+X, Ctrl+C, and Ctrl+V) or right-click to use a shortcut menu.
  • Use keyboard shortcuts to navigate dialog boxes quickly (Table 1.6).
  • A wizard is a series of interactive dialog boxes that steps you through a complex task (Figure 1.44).
  • Windows uses a message box to notify you of events or ask for a decision (Figure 1.45).

Table 1.6
Dialog-Box Keyboard Shortcuts
PressTo
Ctrl+TabSelect the next tab
Ctrl+Shift+TabSelect the previous tab
TabSelect the next option
Shift+TabSelect the previous option
Alt+underlined letterSelect the corresponding option or click the corresponding button
SpacebarClick a button, toggle a check box, or choose an option button (if that option is active)
Arrow keysSelect an item in an option-button group or list, or move a slider
F1Display Help
F4Display list items
Enterthe dotted outline) or the default button (with the shadow)
EscClick the Cancel button

Dialog Boxes

Figure 1.43 Dialog boxes let you change settings by using buttons, check boxes, text boxes, lists, and other controls.

Dialog Boxes

Figure 1.44 The purpose of each wizard page is stated clearly at the top. Many pages have links that you can click for help. The Back button is in the top-left corner.

Dialog Boxes

Figure 1.45 Message boxes bring your program to a halt. You must respond before the program can do anything further.

Next Page