• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

9. User Interface > 9.2. Create a Form with No Menu or Toolbar

9.2. Create a Form with No Menu or Toolbar

Problem

You’d like to completely disable menus for a form, and the toolbar too. Is there any way to remove menus and toolbars from a form?

Solution

If you set the MenuBar property of a form to point to a macro in Access that contains no macro actions, you can trick Access into not displaying any menus. This solution demonstrates this trick and also discusses how you can apply it to the global menus of an application. In addition, you’ll learn how to use VBA code to remove a form’s toolbar.

To create forms in your database without any menus, follow these steps:

  1. Create a new macro sheet without any actions. The mcrNoMenus macro sheet in 09-02.MDB has no macro actions.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint