Introduction to Programming Using Visual Basic 2005, An (6th Edition)

[Page 612 (continued)]

  1. Use a dialog box.

    Note: A dialog box contains three types of items: rectangles (text or list boxes), option lists, and buttons. An option list is a sequence of radio buttons or check boxes.

     

    1.

    Move from item to item with the Tab key. (The movement is from left to right and top to bottom. Use Shift + Tab to reverse the direction.)

    2.

    Inside a rectangle, either type in the requested information, or use the direction keys to make a selection.

    3.

    In an option list, a radio button can be selected with the direction keys. A dot inside the circle indicates that the button has been selected.

    4.

    In an option list, a check box can be checked or unchecked by pressing the spacebar. An X or "" inside the square indicates that the option has been checked.

    5.

    A highlighted button is invoked by pressing the Enter key.

  2. Cancel a dialog box.

     

    1.

    Press the Esc key.

    or

     

    1.

    Press the Tab key until the button captioned "Cancel" is highlighted, and then press the Enter key.

Категории