Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
Using Dialog Boxes
◄Contents► ◄Index► ◄Back►
──────────────────────────────────────────────────────────────────────────────
Using Dialog Boxes
■ Visual Basic displays dialog boxes when you choose commands that have
options.
■ The following table summarizes mouse and keyboard access to various dialog
box actions:
Dialog box action With a mouse... With a keyboard...
═════════════════ ═════════════════════════ ══════════════════════════
Select a text box Move the mouse pointer to Press Alt+ the text box
for input the text box, then press access key, or press Tab
and release ("click") the until the cursor is in the
mouse button text box
Select an item Double-click the item Use Tab to move the cursor
from a list box to the list box, highlight
the item by pressing the
arrow keys, then press Enter
Select an option Click the option Press Alt+ the option's
access key, or press Tab to
move to the option group,
then use the arrow keys
to select the option
Turn a check box Click the check box Press Alt+ the check box
on or off access key, or press Tab to
move the cursor to the
check box, then press the
Spacebar
Choose a command Click the command button Press Alt+ the button's
access key, or press Tab to
move the cursor to the
command button, then press
Enter
─────────────────────────────────────────────────────────────────────────
■ You can use dialog boxes in your applications to request and receive user
input. See: ◄Creating a Dialog Box►