Keyboard Shortcuts Options

Top  Previous  Next

 VS   VB6   VB5   VBA 

The Keyboard Shortcuts section of the Personal Options tab explains you how to assign keyboard shortcuts for the MZ-Tools features (and for the exception / error handlers and code templates that you create). The way to define keyboard shortcuts is different for Visual Studio and for other IDEs.

For Visual Studio the dialog is the following:

KeyboardShortcutsVS

If you click the Assign Keyboard Shortcuts... button, the window of Visual Studio to create keyboard shortcuts should appear:

VisualStudioKeyboardShortcuts

In this window you select a command (the MZ-Tools commands start with the MZTools8 prefix), press the desired shortcut keys and click the Assign button.

For VB and VBA, the dialog is the following, which allows you to create, edit or delete keyboard shortcuts:

KeyboardShortcutsVB

The keyboard shortcut can be for a feature provided by MZ-Tools:

KeyboardShortcutMZToolsFeature

Or it can be for a feature provided by VB/VBA if those IDEs don't provide a keyboard shortcut for features that they do provide:

  • Toggle Bookmark, Next Bookmark, Previous Bookmark, Clear All Bookmarks and Redo, provided by the Edit menu and the Edit toolbar.
     
  • Locals Window and Watch Window, provided by the View menu and the Debug toolbar.
     
  • Comment Block and Uncomment Block, provided by the Edit toolbar (but, conspicuous by their absence, not by the Edit menu). If you are not aware of the Edit toolbar, you can make it visible right-clicking on any toolbar and checking the Edit menu entry on the context menu that is shown.

KeyboardShortcutVBFeature