Defining Mnemonics

Normally keyboard users move the input focus from one control to another in a view with the Tab and arrow keys. However, you can define a mnemonic key that allows users to choose the control by pressing a specific key sequence (Alt + mnemonic key). To define a mnemonic key for a control with its own visible caption (push buttons, check boxes, and radio buttons) use the following procedure.

Procedure

  1. Select the control and open the Property sheet.
  2. In the Text property, type an ampersand (&) in front of the letter you want as the mnemonic for that control.

Results

An underline appears in the displayed caption to indicate the mnemonic key.