Datasheet
Click the Commands tab to see a list of categories as shown in Figure 1-43. Select a category on the left.
Then click and drag a command from the list on the right. If you drop the command on a toolbar, the
command is added to the toolbar. Hover over a menu to open the menu so that you can drop the com-
mand in it.
Figure 1-43: The Customize dialog’s Commands tab lets
you add commands to toolbars and menus.
To create a new menu, select the New Menu item in the list on the left. Then drag and drop the New
Menu entry from the right list onto the IDE’s menu area.
To make a command that executes a macro you have created, select the Macros category in the list on the
left. Find the macro you want to use in the list on the right, and drag it onto a toolbar or menu.
To remove a command from a toolbar or menu, right-click it and select Delete. Alternatively, you can
click and drag the command somewhere that it cannot be placed. For example, you can drop it on the
Customize dialog or most places in the IDE other than on a menu or toolbar (code editors, the Properties
window, the Toolbox). The mouse cursor changes to a box with an “X” beside it when the mouse is over
one of these areas.
Modifying the IDE’s standard menus and toolbars can cause confusion later. You may later discover
that you need a command that you have removed from a menu, and it may take you quite a while to find
it again. A better approach to modifying standard commands is to create a new custom toolbar or menu.
Add the commands you want to use to the new toolbar and then hide the standard toolbar that you are
replacing. Later you can restore the hidden standard toolbar if necessary.
41
IDE
571982 ch01_2.qxd 1/19/06 1:16 PM Page 41