Go to Glossary Search VisualAge C++ Help Go to VisualAge C++ Help Home Page Go to WWW VisualAge C++ Site

Key Behavior - Customize

Use this window to define the behavior of certain keyboard keys in the Editor. To do this, follow these steps:

  1. Select a personality from the Base behavior drop-down list.
  2. Select a key from the Select a key list.
  3. Select one of the predefined behaviors for the currently selected key from the Select an action list.
  4. The Make accelerator push-button is enabled for any predefined behavior that can also be invoked from the Editor menu-bar. Click on this push button to define a key or key combination as the accelerator for such predefined behaviors.
  5. Repeat the previous steps for any other key behaviors you wish to modify.
  6. Select the OK push button to assign the new definitions to the keys. Key settings are saved between editing sessions, and remain in effect until you change them again.

Warning: The keys help defines only the default Editor key behaviours, and may be incorrect if applied to other Editor personalities or customized key behaviours.

The following is a summary of controls in this window:

Base behavior Displays the current basic Editor personality. You can set the Editor so that its keyboard behavior, or personality, resembles other common Editors.

You can change the personality by opening the Base behavior drop-down selection list, and selecting an alternate personality from those displayed. The Select a key and Select an action controls update to reflect the keyboard combinations and associated actions applicable to the Editor personality currently in effect.

Select a key Displays a list of keyboard combinations used by the Editor personality currently selected from the Base behavior list.

When you select a keyboard combination from this list, the action corresponding to that keyboard combination is selected in the Select an action list.

Select an action Displays a list of Editor actions. The action initially selected is the action currently-defined for the keyboard combination shown in the Select a key list.

To assign a different action to the keyboard combination shown in the Select a key list, select any other action shown in the Select an action list.

Make accelerator If the current selection in the Select an action list is accessible from the Editor pull-down menus, click on this push-button to define a key or key combination as the accelerator for such selections.
OK Accepts changes to keyboard behaviors, and returns you to the Editor.
Cancel Closes the Key Behavior - customize window without applying any of the changes you have made, and returns you to the Editor.
Help Displays help for the item where the cursor is positioned.


Customize the Keyboard