Handling Keyboard Input
 
 
 

When you create a custom dialog box, you can specify how it handles keyboard shortcuts. Some keyboard shortcuts are common to all dialog boxes. For example, the TAB key generally enables users to move from tile to tile, and the SPACEBAR allows users to turn toggles off or on. Each active tile should be a tab stop (the default).

Two keys commonly act as accelerator keys. The accept key (usually the ENTER key) accepts the dialog box and values entered. The cancel key (ESC), discards the dialog box and the values. When AutoCAD first displays a dialog box, one of its tiles has the initial keyboard focus. What the user enters affects this tile until the user moves focus to another tile.

To move from tile to tile, the user can press TAB, choose another tile, or enter one of the keyboard shortcuts known as mnemonic keystrokes. Moving between tiles changes focus but doesn't make a selection. To select a tile that has focus, users must press ENTER. For some kinds of tiles, a double-click is equivalent to pressing ENTER.