ACC97: Cannot Add Commands to the Default Custom Shortcut Menu

ID: Q167767


The information in this article applies to:


SYMPTOMS

Novice: Requires knowledge of the user interface on single-user computers.

When you try to drag new commands onto the default Custom shortcut menu on the Shortcut Menus toolbar, the action fails. However, if you perform the same action on any of the built-in toolbars, it works.


CAUSE

You cannot add commands to the default Custom shortcut menu on the Shortcut Menus toolbar. You can only add commands to a custom shortcut menu that you create and add to the default Custom shortcut menu.


RESOLUTION

First, create a new custom shortcut menu and add it to the default Custom shortcut menu on the Shortcut Menus toolbar. Then, add the commands that you want to appear on the newly created custom shortcut menu. To do this, follow these steps:

  1. Open the database for which you want to add a new custom shortcut menu.


  2. On the View menu, point to Toolbars, and then click Customize.


  3. On the Toolbars tab, click New and type MyShortCut in the Toolbar Name box. Click OK.


  4. On the Toolbars tab, click Properties.


  5. With MyShortCut showing in the Selected Toolbar box, select Popup in the Type box. Click OK in the informational message box. In the Toolbar Properties box, click Close.


  6. In the Toolbars box, click to select the Shortcut Menus check box. On the Shortcut Menus toolbar, click Custom, and then click MyShortCut.


  7. Click the Commands tab in the Customize dialog box, and drag the commands that you want to appear on the MyShortCut shortcut menu from the Commands box.



MORE INFORMATION

Steps to Reproduce Behavior


  1. Create a new database.


  2. On the View menu, click Toolbars, and then click Customize.


  3. On the Toolbars tab, scroll to the bottom of the Toolbar list and click to select the Shortcut Menus check box. The Shortcut Menus toolbar appears.


  4. Click the Commands tab.


  5. Open the default Custom shortcut menu on the Shortcut Menus toolbar.


  6. Try dragging commands onto the Custom shortcut menu. Note that the action fails.



REFERENCES

For more information about creating custom menus, search the Help Index for "custom menus, shortcut menus," or ask the Microsoft Access 97 Office Assistant.

For more information about adding commands to the default custom shortcut menu, please see the following article in the Microsoft Knowledge Base:

Q162456 ACC97: Can't Access ShortCut Menus CommandBar from Code


Keywords          : kbui UifToolb 
Version           : 97
Platform          : WINDOWS 
Issue type        : kbprb 

Last Reviewed: May 3, 1999