24
CHAPTER 12 Customizing Menus and Toolbars

CHAPTER 12 Customizing Menus and Toolbars

  • Upload
    cisco

  • View
    67

  • Download
    1

Embed Size (px)

DESCRIPTION

CHAPTER 12 Customizing Menus and Toolbars. 1. Using Access Command Bars. The basic element of toolbars, menu bars, and shortcut menus is the command the user chooses to cause an action to take place The command can appear as a button with an image or a menu command showing text - PowerPoint PPT Presentation

Citation preview

Page 1: CHAPTER 12 Customizing Menus and Toolbars

CHAPTER 12Customizing Menus and

Toolbars

Page 2: CHAPTER 12 Customizing Menus and Toolbars

1. Using Access Command BarsThe basic element of toolbars, menu

bars, and shortcut menus is the command the user chooses to cause an action to take place

The command can appear as a button with an image or a menu command showing text

The commands can be grouped as a set of items in several ways:◦In a menu, such as the New, Open and

Close commands on the File menu.◦On a toolbar, such as the Print, Print

Preview on the Form View toolbar.

Page 3: CHAPTER 12 Customizing Menus and Toolbars

2. Showing/Hiding Built-in ToolbarsTo add toolbars not in the list to the

window, open the Customize dialog box using one of the following methods:◦Choose Customize at the bottom of

the toolbar shortcut menu.◦Choose ViewToolbarsCustomize.◦Choose ToolsCustomize.

Page 4: CHAPTER 12 Customizing Menus and Toolbars

2. Showing/Hiding Built-in ToolbarsThe Toolbars tab contains a list of all

three types of available toolbars.

Page 5: CHAPTER 12 Customizing Menus and Toolbars

2. Showing/Hiding Built-in ToolbarsClick the check box of any toolbar you

want to add to the display, and then click Close.

To remove a toolbar from the display, clear the check mark and click Close.

Page 6: CHAPTER 12 Customizing Menus and Toolbars

3. Showing/Hiding Toolbar ButtonsTo show a button

◦Click the Toolbar Options button on the right end of the toolbar.

◦Click Add or Remove Buttons and point to the toolbar name in the list of toolbar buttons currently showing

To hide a button, clear the check mark next to the button name

Page 7: CHAPTER 12 Customizing Menus and Toolbars

4. Adding/Deleting Toolbar ButtonsTo add a button from the Customize

dialog box:◦Select command tab◦Choose the type of command you want

in the Categories list. The Commands list shows images and text of commands in that category.

◦When you find the button you want, drag it to the toolbar. When you see a dark I-beam, drop the button on the toolbar.

Page 8: CHAPTER 12 Customizing Menus and Toolbars

4. Adding/Deleting Toolbar Buttons

Page 9: CHAPTER 12 Customizing Menus and Toolbars

5. Adding Built-in MenusYou can add built-in menus to a toolbar

or a menu bar by drag from the Commands box of the Customize dialog box.

The only difference between adding toolbar buttons and menus is that the menus, by default, show only text, while the buttons show only an image.

Page 10: CHAPTER 12 Customizing Menus and Toolbars

5. Adding Built-in MenusWith the new menu bar or toolbar

showing, open the Customize dialogselect the Commands tab. Scroll down the Categories list and select Built-in Menus

Page 11: CHAPTER 12 Customizing Menus and Toolbars

5. Adding Built-in MenusDrag the menu from the Commands box

to the menu bar or toolbar, and then drop the menu when you see the dark I-beam.

Page 12: CHAPTER 12 Customizing Menus and Toolbars

6. Adding Custom MenusTo add a new custom menu:Open the Customize dialog box select

the Toolbars tabNewType Toolbar NameOK

Page 13: CHAPTER 12 Customizing Menus and Toolbars

6. Adding Custom MenusSelect commands tabScroll down the list of Categories select

New Menu.

Page 14: CHAPTER 12 Customizing Menus and Toolbars

6. Adding Custom MenusDrag New Menu from the Commands box

to the menu bar or toolbar.Right-click the New Menu, enter a name

in the Name box ENTER

Page 15: CHAPTER 12 Customizing Menus and Toolbars

6. Adding Custom MenusAdd commands to the new menu by

choosing from the Commands dialog box

Page 16: CHAPTER 12 Customizing Menus and Toolbars

7. Adding a SubmenuTo add a custom submenu to an existing

menu, do the following:◦Drag the New Menu command from the

Commands box to the menu you want to contain the submenu

◦Right-click New Menu and type a name for the submenu ENTER.

Page 17: CHAPTER 12 Customizing Menus and Toolbars

7. Adding a SubmenuSelect and drag a command to the

empty box and when the I-beam appears, release the mouse.

Drag the names of the object you want in the submenu from the categories list to the submenu.

Page 18: CHAPTER 12 Customizing Menus and Toolbars

7. Adding a Submenu

Page 19: CHAPTER 12 Customizing Menus and Toolbars

8. Attaching a Custom Command Bar to an ObjectReports, forms, and controls have

properties that specify which, if any, command bar is to be displayed when the object is in view.

To set one of these properties:◦Open the object’s property sheet

Other tab. ◦Select the name of the command bar

from the drop-down list

Page 20: CHAPTER 12 Customizing Menus and Toolbars

8. Attaching a Custom Command Bar to an ObjectRepeat the process for each form, report,

or control to which you want to attach a command.

Page 21: CHAPTER 12 Customizing Menus and Toolbars

9. Deleting a Custom Command BarTo delete a custom toolbar, menu bar, or

shortcut menu:◦Open the Customize dialog box as

usual, and then click the Toolbars tab. ◦Select the item you want to delete and

click Delete

Page 22: CHAPTER 12 Customizing Menus and Toolbars

9. Deleting a Custom Command BarDeleting a shortcut menu is a little

different. You must convert it to a toolbar before you can delete it. ◦Open the Customize dialog

boxToolbars, and then select any toolbar.

◦Shortcut menus don’t appear in the list, so you need to select any toolbar to get started.

Page 23: CHAPTER 12 Customizing Menus and Toolbars

9. Deleting a Custom Command BarClick PropertiesIn the Selected Toolbar

box, choose the name of the shortcut menu you want to delete.

Page 24: CHAPTER 12 Customizing Menus and Toolbars

9. Deleting a Custom Command BarChoose Toolbar in the Type list to change

it to a toolbar, and then click Close to return to the Customize dialog box.

The shortcut menu name is added to the list of toolbars.

Select the name of the shortcut menu in the list of toolbars to open the Toolbar Properties dialog box and delete