AcuBench allows you to define keyboard key-combination shortcuts for most workbench commands. A list of all AcuBench keyboard shortcuts, organized by category, is contained in a drop-down list located in the Tools > Options > Environment > Keyboard dialog box. The Main, Code Editor, and Screen Designer categories indicate the state in which a particular command functions. The Main category, which lists the menu bar, toolbar, and window/right-click commands, is a superset of the Code Editor and Screen Designer categories. The Code Editor and Screen Designer categories each list shortcuts associated with their particular state. For example, you access the list of special keystrokes that perform commands particular to the Code Editor state by selecting the Code Editor category.
Using the three different categories, you can assign three different keyboard shortcuts to a common command (one for each category). When you assign different shortcuts to the same command name, AcuBench applies these shortcuts in context. Let's say you assign Ctrl+P to the Main category's FilePrint command and assign different shortcuts for FilePrint in the Code Editor and Screen Designer categories, Ctrl+F1 and Ctrl+F2, respectively. If you begin working in the Screen Designer, Ctrl+F2 is the shortcut key for FilePrint. If you change states and begin working in the Code Editor, the shortcut key associated with FilePrint changes to Ctrl+F1.
Following is a brief description of the Main, Code Editor, and Screen Designer shortcuts and their default values. You can assign key combinations for commands without shortcuts or replace default shortcut key designations with your own definitions, using the procedures described in the topic Keyboard Options.
Three common keyboard shortcuts are defined by the Windows operating system and cannot be changed. These are:
|Close Document Window||Ctrl+F4|
|Next Document Window||Ctrl+F6|
|Previous Document Window||Ctrl+Shift+F6|