Shortcut keyboard combinations

Use the keyboard options to perform tasks regarding the keyboard shortcuts for the various commands available in the development environment.
Use keyboard shortcuts for quicker operation of the environment. The keyboard options enable viewing the defined keyboard shortcuts mapping schemes available for commands. Only the default keyboard shortcut mapping scheme is available. View commands in the
Show
commands
containing
section listing all available commands and their respective keyboard shortcuts. In the text field, type text to find a specific command. By default, only some commands have pre-defined shortcuts. Users can define (add) a shortcut to a command or modify an existing shortcut by adding a new shortcut and removing an unwanted shortcut. Manage keyboard combinations from these options:
  • Apply
    the
    following
    additional
    keyboard
    mapping
    scheme
    , only the default mapping scheme.
  • Show
    commands
    containing
    , displays all available commands. The list displays all entries containing the specified characters when typing characters in the text box.
  • Shortcuts
    for
    selected
    command
    , lists mapped keyboard shortcuts for the command selected in the
    Show commands containing
    list.
  • Use
    new
    shortcut
    in
    , specifies the scope of the keyboard shortcut. Use the shortcut globally in the development environment or only within a specific context (or window). The default setting is global, meaning the shortcut key works in any active window. If a global keyboard shortcut and context specific shortcut are identical, the context specific shortcut takes precedence. For example, commands with the language editor scope have precedence over commands with the global scope. A context specific keyboard shortcut remains in effect only while the context (or window) is active.
  • Press
    shortcut
    keys
    , enables pressing a key combination to be used for the currently selected command. Use one or more modifier keys like CTRL, ALT, or SHIFT combined with various keys. SHIFT cannot be combined with letters or numbers. The F1-F12 keys can be used with or without a modifier. Enter one or two key combinations to use as a shortcut. For example, enter CTRL+Y, or enter F6, CTRL+Y. Regardless of their scope, shortcut key combinations cannot contain these keys:
    • Prt Scr/Sys Rq
    • Application key
    • ScrLk
    • Num Lock
    • Caps Lock
    • Ctrl+Alt+Delete key combination
    • Escape
  • Shortcut
    currently
    used
    by
    , displays the command assigned to the current keyboard shortcut combination. The text box is only activated when assigning a key combination that is already assigned to another command. To replace the current shortcut keyboard combination with a custom one, define a new keyboard shortcut mapping scheme.
Tasks to perform are:
Task
Procedure
View existing commands and keyboard shortcuts
  1. From the
    Tools
    menu, click
    Options
    .
  2. In the
    Options
    dialog box, expand
    Environment
    , then click
    Keyboard
    .
    The keyboard options display in the
    Options
    dialog box.
  3. In the
    Show
    commands
    containing
    field, scroll to find a command or type the required command name without spaces. For example, ShowNextStatement.
  4. In the
    Show
    commands
    containing
    list, select the required command. For example, Debug.ShowNextStatement.
    The shortcuts for the selected command drop-down combo box displays the required shortcut key combinations.
Define keyboard shortcuts
  1. From the keyboard options, in the
    Show
    commands
    containing
    field, type the required command name without spaces. For example, ShowNextStatement.
  2. In the
    Show
    commands
    containing
    list, select the required command. For example, Debug.ShowNextStatement.
  3. In the
    Use
    new
    shortcut
    in
    drop-down combo box, select the scope. For example, MLGE.
  4. In the
    Press
    shortcut
    keys
    field, type the new key combination.
  5. Click
    Assign
    , then click
    OK
    .
Remove keyboard shortcuts
  1. From the keyboard options, in the
    Show
    commands
    containing
    field, type the required command name without spaces. For example, ShowNextStatement.
  2. In the
    Show
    commands
    containing
    list, select the required command. For example, Debug.ShowNextStatement.
  3. In the
    Shortcuts
    for
    selected
    command
    field, select the keyboard shortcut to be removed.
  4. Click
    Remove
    .
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal