Share via


Accessing WizardBar Commands from the Keyboard

Home Page (Working with Classes)OverviewHow Do I ... Topics

Once you have assigned shortcut keys to the WizardBar controls, you can easily perform all available WizardBar actions from the keyboard. By tabbing between controls, you gain access to all functions currently available for the control. You can also use the keyboard to display the WizardBar menu at any time when WizardBar has focus.

To use WizardBar from the keyboard

  1. Press the shortcut key for the WizardBar element you wish to access.

    The element gains focus. If the element is a WizardBar combo box (Class, Member, or Filter), the drop-down list opens to display available functions.

  2. Depending on which element has focus, choose an action:

    • In a combo box, press DOWN ARROW or type directly into the list box to select a function, and press ENTER to execute it.

    • From the Action control, press ENTER to carry out the default action immediately, or DOWN ARROW to open the shortcut menu.

    • From the shortcut menu, press DOWN ARROW to select a command and press ENTER to execute it.

    Note   When the Action control has focus, it gains a gray dotted outline.

To display the WizardBar menu

  • From any of the WizardBar combo boxes, press SHIFT+F10. Or, from the WizardBar Action control, press DOWN ARROW.

    Press ESC to dismiss the shortcut menu if you do not want to choose a command.

Typing Directly Into the WizardBar Controls

You can increase your keyboard access to the WizardBar by typing directly into any of the WizardBar combo boxes.

To navigate to code by typing in the WizardBar

  1. Place focus in a WizardBar combo box.

    The drop-down list opens. (To give focus to a WizardBar control from the keyboard, you first need to assign it to a shortcut key.)

  2. Begin typing the first few letters of the class, filter, or member you wish to activate.

    As you type, the list refreshes to include only those entries that match what you have entered, and the edit box fills with the first complete possible match.

  3. When the element that you want in the list appears in the edit control, press RETURN, or press TAB to move to the next control.

    Pressing RETURN performs the default action for the current context. Pressing TAB moves you to the next control without performing the default action. In either event, the WizardBar controls update their hierarchical dependencies. For example, when you select a new class, the Members combo box updates to reflect all members of that class.