Accelerator Keys

Built-in forms often have keyboard shortcuts that allow actions to be triggered or fields selected with a few keystrokes. These shortcuts are identified by an underlined letter on a button or label.

You can add this same capability to custom userforms by entering a value in the Accelerator property of the control. Alt + the accelerator key selects the control. For example, in Figure 21.13, Alt+H checks the VHS check box. Repeating the combination unchecks the box.

Figure 21.13

Use accelerator key combinations to give user-forms the power of keyboard shortcuts.

Movie Properties

0 0

Post a comment