Share this Page URL

Chapter 13. Completing Your Database App... > Assigning a Toolbar, Menu, or Shortc... - Pg. 482

Completing Your Database Application 3. 4. 5. 6. Enter a name for the new toolbar, and then click OK. 482 On the Toolbars tab, click Properties. In the Toolbar Properties dialog box, select Popup from the Type list. Click OK in the message box that appears, and then click Close in the Toolbar Properties dialog box. On the Toolbars tab, select Shortcut Menus. In the Customize dialog box, click the Commands tab. Select the category of commands you want in the Categories list. In the Commands list, select the item you want to add to the shortcut menu, and then drag the item to the shortcut menu. To rename the item or to modify the item's image, Right-click the item, and use commands on the menu that appears. Use the Commands tab to add other items to the shortcut menu. When the menu is complete, click Close in the Customize dialog box. 7. 8. Quick Check Q. Can you create an item on a toolbar that runs a Visual Basic function? A. Yes. On the Commands tab of the Customize dialog box, select File in the Categories list. From the Com- mands list, add a Custom item to the toolbar. Right-click the Custom item, and then click Properties. Enter the function you want to run in the On Action property box. Importing Menus and Toolbars The toolbars, menu bars, and shortcut menus you create in an Access database are part of that database. You won't see these toolbars or menus in other Access databases. If you've created a menu, toolbar, or shortcut menu that you want to use in a different database, you can import those items into that database. To import the items, click File, Get External Data, Import. In the Import dialog box, select the database with the toolbar