< Day Day Up > |
Customizing ToolbarsButtons that are displayed on the toolbars provide shortcuts for executing menu commands. The menu commands that are used most frequently are attached to specific buttons and positioned on toolbars according to the types of tasks they perform. Microsoft has standardized its toolbars across applications so that tasks that are common to all applications remain constant in their presentation on toolbars. As a result, when you become accustomed to using toolbar buttons in one application, you recognize them in other applications. The Open button, for example, is available on the Standard toolbar of most Microsoft applications. As you continue to work with Microsoft Project, you will find that some of the buttons on the toolbars are vital to the way you work, but you rarely use others. This is often determined by the type of work you do. In addition, you might find that there are tasks you perform frequently for which there are no toolbar buttons available. You can customize toolbars to remove the buttons you rarely use and replace them with buttons that help perform those tasks you do more frequently. When you create simple macros to perform tasks you use most frequently, you can assign them to toolbar buttons. For example, if you were to create a simple macro designed to turn on the Project Summary task, you could assign a toolbar button to run the macro and include the button on a toolbar. After the macro is assigned to a toolbar, all you have to do is click the toolbar button to perform the function. NOTE In previous chapters, you may have created special views, tables, forms, or filters and found that they were stored as part of the project in which you created them. When you need to use them in another project, you have to copy them into the new project file or to the GLOBAL.MPT file. Customizing toolbars and menus is different because toolbars and menus are part of the application file rather than part of a project file. As a result, when you change the toolbars and menus , the changes are available to all projects you create or edit on your computer. They are automatically stored as part of the GLOBAL.MPT file. You can still copy them from the GLOBAL.MPT file to a project file when you want to include them in a file you are sending to someone else or when you want to copy them to a different computer. Otherwise, copying them is not necessary. Reviewing the Built-in ToolbarsMicrosoft Project 2003 includes 17 built-in toolbars, plus the menu bar, that group activities by type. Three of these toolbarsthe Standard, Formatting, and Task Pane toolbarsappear by default when you start Microsoft Project. You can display any of the remaining toolbars as you need them. The new toolbars in Project 2003 include Compare Project Versions, Database Upgrade Utility, and Euro Currency Converter. There are three default toolbars in Project:
Fourteen additional toolbars are included with Microsoft Project:
Many toolbar buttons are easy to identify, and their use is self-explanatory. The purpose of some buttons, however, is difficult to determine. To identify a button's function, you can point to it and pause briefly . The name of the button appears in the form of a ScreenTip. Displaying ToolbarsProject enables you to show and hide toolbars by using two different procedures. Perhaps the more efficient means is by selecting a toolbar from the Toolbar shortcut menu. Another way to select a toolbar is by using the View, Toolbars command. The procedures for displaying toolbars using both approaches are explained in the following sections. The Toolbar shortcut menu contains a listing of all toolbars, as well as a command that lets you customize toolbars. To activate the shortcut menu, shown in Figure 23.4, position the mouse pointer over one of the visible toolbars and click the right mouse button. Notice in Figure 23.4 that the Standard, Formatting, and Project Guide toolbars have check marks next to them. These check marks indicate that the toolbars are currently displayed, or active . Other toolbars do not contain check marks, indicating that they are currently inactive. Figure 23.4. The Toolbar shortcut menu lists all toolbars and identifies displayed toolbars with a check mark.
Click on a toolbar name that isn't checked and Project will display the toolbar. If you click on a toolbar name that is already active, the check mark disappears, and the toolbar is then hidden. As an alternative, you can show and hide toolbars by selecting View, Toolbars. The toolbar choices via this method are identical to those available through the previous Toolbar shortcut menu method. Positioning Toolbars on the ScreenMost toolbars are set to position themselves at a docking location at the top of the screen. When a toolbar is displayed, you can move it from the top of the screen to a new position. Toolbars can be docked at the sides or bottom of the screen or floated in a small window of their own in the middle of the screen. Some toolbars have combination boxes (that is, buttons with a text box and an entry-list arrow). The Group drop-down box on the Standard toolbar and the Font drop-down box on the Formatting toolbar are examples of combination (or combo) boxes. When toolbars are docked on the sides of the screen, the combo boxes are not displayed. To reposition a toolbar, click the move handle that appears on the left edge of the toolbar. As you drag the toolbar, it changes shape to fit the active position. When you have the toolbar placed where you want it, release the mouse button. Figure 23.5 shows a docked toolbar and a floating toolbar. Figure 23.5. You can position toolbars onscreen to suit your taste.
Notice that the floating toolbar has a title bar and a Close button. You can click the Close button to hide a floating toolbar or drag the title bar to dock it. TIP You can double-click the title of a floating toolbar to return it to its docked position. Floating toolbars can be resized in the same way you resize other windows . When you position the mouse pointer on a border of the toolbar window, the mouse pointer changes to a double-headed arrow. Simply drag to resize the toolbar. Using the Customize Dialog BoxBefore you can create a new toolbar or customize an existing toolbar, you must display the Customize dialog box (see Figure 23.6). From the Customize dialog box, you can create new toolbars, add or remove buttons from any active toolbar, resize combo boxes, rearrange the order of the buttons on a toolbar, and establish toolbar options, such as activating the setting in which the Standard and Formatting toolbars share one row. The toolbar you want to customize must be active before you can customize it. Figure 23.6. Open the Customize dialog box to create new toolbars or to change the buttons that appear on the existing toolbars.
There are three ways to display the Customize dialog box:
The Customize dialog box has three tabs:
TIP When the Customize dialog box appears in front of toolbars you want to customize, you can drag the colored title bar of the Customize dialog box to move it to a different location. Organizing Toolbar ButtonsThe Customize dialog box is the place to change your Project environment. With the Customize dialog box open, you can add, remove, and rearrange buttons on toolbars. You can also change the underlying button function, modify the button image, and place buttons into logical groups on the toolbars. Before you can customize a toolbar, the toolbar you want to modify must be activated. You then need to access the Customize dialog box. From the Customize dialog box, choose the Commands tab (see Figure 23.7) to access the available commands. Figure 23.7. Choose the Commands tab in the Customize dialog box to see a categorized list of available commands.
The Commands tab displays a list of categories of commands on the left. Whenever you select a category, the corresponding commands appear in the list box on the right. In Figure 23.7, the File category is selected. You use the Modify Selection button to change the actions performed by command buttons on the active toolbars. It is active when you select a command on a toolbarnot when the command is selected in the Commands list box. You can also activate Modify Selection by right-clicking a button on a toolbar, when the Customize dialog box is open. Commands you add to the toolbars might or might not have corresponding icon buttons. Those that do not have icon buttons are displayed as text buttons. Adding and Removing Command ButtonsWhen you want to add a command button to a toolbar or menu bar, you can simply drag the button from the Commands list onto the desired toolbar (see Figure 23.8). If you position the button between two existing buttons, the button drops into place, and existing buttons move to accommodate it. If there are too many buttons on the toolbar, those at the far right end begin to wrap to a new line for the toolbar while the Customize dialog box remains open. When you close the dialog box, Project hides the least-used buttons on the toolbar, to make room for the added buttons. It places the hidden buttons on the Toolbar Options drop-down list for that toolbar, as described in the section "Adjusting the Behavior of Toolbars," earlier in this chapter. Figure 23.8. You can add commands to any active toolbar; some appear as icons, and others display as text.
TIP Microsoft Project makes it easy to insert a button on a toolbar that executes a macro you have created. The category All Macros on the Commands tab of the Customize dialog box lists the macros in Project, including the ones you create. Simply drag the macro name to the desired toolbar. The name of the macro appears as a button on the toolbar. You can create an image for that button instead of having the macro name appear on the toolbar. For more information on creating your own customized command buttons, see "Customizing Command Buttons," p. 936 .
To learn how to take advantage of macros in Project, see the chapter "Using Visual Basic with Project 2003" on the CD accompanying this book. If you find that there are certain command buttons you never use, you can remove them from the toolbar to make room for other buttons. To remove a button from a toolbar, open the Customize dialog box, drag the button off its toolbar, and release it in the center of the screen, away from other toolbars. Rearranging Command Buttons
Figure 23.9. You can change the arrangement of commands on toolbars and menu bars.
You can also rearrange the buttons on a toolbar by dragging them to different locations. To move buttons, the Customize dialog box must be open. When you select a button to move it, a heavy border indicates that the button is selected. As you move the button, the mouse pointer changes to a thick capital I. When you want to move a button from one toolbar to another, you can use the procedures described in the previous section for removing and adding buttons. Or, you can simply drag the button from one toolbar to the other. When you move buttons from one toolbar to another, both toolbars must be displayed and the Customize dialog box must be open. Grouping Command ButtonsCommand buttons on toolbars are organized by groups. Vertical separator bars distinguish one group from another. To add a separator bar in front of the active command button, right-click the button that should begin the new group. A list of command-button display options appears. To add a separator bar, click Begin a Group. A separator bar appears in front of the selected button. You can remove a separator bar from a button by right-clicking it on the toolbar and selecting Begin a Group again. A check mark in front of a modification option indicates that the option is active. Resizing Combo BoxesA combo box is a two-part box that combines a text box with a drop-down list arrow that can be used to select valid options. Combo boxes appear frequently in dialog boxes and on toolbars. For example, on the Formatting toolbar there are combo boxes for Font, Font Size, and Filter. You can change the width of the text box portion of a combo box while the Customize dialog box is open. To increase or decrease the width of combo boxes, follow these steps:
Creating New ToolbarsSometimes the buttons you use most frequently are on several different toolbars. Instead of having four or five toolbars displayed, which reduces the space available on the screen to display your project document, you might want to have one or two toolbars that contain most (if not all) of the command buttons you use. At other times, you might want to customize an existing toolbar without affecting the original toolbar. Microsoft Project enables you to create new toolbars on which you can store the buttons you use most frequently, without affecting the buttons currently available on other toolbars. When the toolbar you want to create contains many of the same buttons that are available on an existing toolbar, you can make a copy of the existing toolbar, give it a unique name, add the buttons you use most frequently, and delete any buttons you don't want on it. Alternatively, you can start with a blank toolbar and create a completely new collection of buttons. Creating a Toolbar by Copying an Existing ToolbarWhen an existing toolbar contains many of the buttons you want to include on your new toolbar, making a copy of the existing toolbar is a good starting point. Copying the existing toolbar reduces the number of buttons you'll need to place on the new toolbar. You cannot create a copy of a toolbar from within the Customize dialog box. To copy a toolbar, you have to access the Organizer. To learn how to copy and rename a toolbar, see "Managing Toolbars with the Organizer," p. 947 . After you create a copy of a toolbar, access the Customize dialog box and use the techniques outlined in the previous sections to modify the copied toolbar for your needs. Building a New ToolbarCreating a new toolbar from scratch creates an empty floating toolbar window that you can fill with the command buttons. To build a new toolbar, follow these steps:
The new toolbar name appears in the list on the Toolbars tab, and the new empty toolbar appears in the Project window (see Figure 23.10). Select the Commands tab and drag the desired buttons onto the toolbar to create the collection you desire . The toolbar enlarges as you add command buttons. As is true with all toolbars, you can dock the toolbar or leave it floating. Figure 23.10. User -defined toolbars are initially displayed floating in the Project window.
Deleting a User-Defined ToolbarToolbars installed with the Microsoft Project software remain a part of the application even after you customize them. As a result, you can reset them but you cannot delete them. However, you can delete new toolbars you create, which are referred to as user-defined . To delete a user-defined toolbar, open the Customize dialog box, move to the Toolbars tab, select the toolbar to be removed, and click Delete. NOTE If the Delete button is not active, you have selected a toolbar that was installed with the Microsoft Project software. Most of these toolbars can be reset but not deleted. Restoring the Built-in ToolbarsChanges you make to the built-in toolbars as you customize might become out-of-date and might not fit every project you create. As a result, you might want to restore the default buttons to a toolbar. Microsoft Project includes a feature that makes restoring toolbars quick and easy. CAUTION Resetting a toolbar removes all customized changes you have made to that toolbarnot just the most recent changes. If you reset a toolbar on which you have placed custom buttons, you lose the custom buttons. To avoid this, drag the custom buttons to another toolbar to preserve them.
To restore the default set of command buttons to the built-in toolbars, open the Customize dialog box, move to the Toolbars tab, select the toolbar to be restored, and click Reset. Project will issue a warning that all customization is about to be lost; click OK to complete the procedure. Customizing Command ButtonsSome of the commands that are available in the Customize dialog box have no button image associated with them. When such a command is added to a toolbar, only the name of the command is displayed. In addition, sometimes no command is available for a task you perform frequently, and it might be necessary for you to create a macro to record the steps of such a task. After you have created the macro, the name of the macro is listed on the Commands tab of the Customize dialog box. No button image is associated with the macro command. When the command is added to a toolbar, the name of the macro is displayed. You can copy one of the available images to a command button that doesn't have an image, or you can design your own image for the command button by using the button display options. Accessing the Button Display OptionsTo modify toolbar button images, you need to access the list of button display options. To see these options, you must first display the toolbar that contains the command button you want to change and then display the Customize dialog box. (The quickest way to display the Customize dialog box is to right-click any toolbar and choose Customize.) When you have the toolbar and dialog box displayed, choose one of the following methods to see the button display options list:
Customizing a Button FaceThe Customize dialog box enables you to copy an existing button or access the Editor dialog box, where you can customize a button design. If another button carries a design that resembles the one you want to use on the new button, you can copy the design from the button to the Clipboard and then paste it on the blank button. Copying the design does not copy the functionality of the original button to the new button. After you paste the design on the blank button, you can modify the design to customize it for the new button. You can also create a design from scratch. To change a button image, follow these steps:
The option Paste Button Image becomes active on the Modify Selection list after an image has been copied; be sure to select another button and paste the new image onto it. The receiving button does not have to be blank; the existing face is replaced with the copied image. Project contains a library of images you can apply to a button face instead of copying the face of a displayed button. Figure 23.11 shows the image library that is available in Microsoft Project. Figure 23.11. Select the Change Button Image option to display the list of images from the Project image library.
A third approach for changing a button face is to design your own image. When a command button has a blank button image, you can design your own image for it. You can also edit a button face after you choose a button image from the library or copy an image from another button; you might want to edit the picture. If the image was copied, changing the picture so that it differs from the design of a button used to perform a different task helps you identify both buttons. To edit the picture, you must use the Button Editor dialog box. The button design appears enlarged so that individual pixels can be identified in the Picture box. You can then change the location of each pixel in the image by using the mouse to achieve the desired design. In Figure 23.12, the design assigned to the Paste button (on the Standard toolbar) is selected as the design for a new command button (Text Styles) on the Formatting toolbar, and you need to edit it so that it isn't confused with the Paste button. Figure 23.12. You use the Button Editor dialog box to create or modify a button image.
The Colors box in the Button Editor dialog box is a palette for selecting colored pixels for the design. The Move arrows help you position the picture on the button by moving it one row or column at a time. The Preview area shows how the current picture appears. To change the picture, use any of the following techniques:
When you are finished modifying the button, click OK, and the new design appears on the new button. Figure 23.13 shows the finished picture that will be assigned to the Text Styles button. Figure 23.13. The finished picture for the Text Styles button is slightly different from the picture copied from the Paste button.
Changing the Actions of a ButtonAfter you have added a command button to a toolbar or modified a button's image, you might decide to change the command associated with that button. The command that is executed when a button is clicked is identified in the Command drop-down list on the Customize Tool dialog box. Figure 23.14 shows the command for the Text Styles button on the Formatting toolbar. Figure 23.14. You can use Ctrl+click on a button to customize its behavior.
When you click the Command drop-down list, you see all the Microsoft Project commands (including forms and macros) that you can assign to a button. For example, to assign a Project add-in macro to a button, select the Macro command that displays the desired macro in double quotes from the Command drop-down list. Similarly, to designate the button to activate a custom form, you can choose the Form command that includes the desired form name in double quotes. Commands with names in double-quotes designate custom elements added to the Project environment.
To learn more about macros and Microsoft Project, see the chapter "Using Visual Basic with Project 2003" on the CD accompanying this book. You can access the Customize Tool dialog box directly from the Project window, without having to go through the Customize dialog box, by following these steps:
|
< Day Day Up > |