Skip to main content

Shortcut menu

Additional Controls

Command Description
Additional Controls Displays the Additional Controls dialog box so that you can add controls.

Close

Command Description
Close Closes the selected window.

Collapse Parent

Command Description
Collapse Parent Shrinks the list of items in the Locals window or Watch window to the parent item. When you collapse a list, the icon to the left of the expression changes from a minus sign (-) to a plus sign (+).

Copy Here and Move Here

Allows you to use a drag-and-drop operation on controls on the form. Select a control by using the right mouse button, hold it down, and then drag the control. When you release the mouse button, a shortcut menu appears with the following commands.

Command Description
Copy Here Copies the selected control to the location where you dragged your cursor.
Move Here Moves the selected control to the location where you dragged your cursor.
Cancel Cancels the operation.

Customize

Command Description
Customize Displays the Customize dialog box, where you can add, delete, modify, or create custom toolbars.

Customize Item

Command Description
Customize <item> Displays the Customize Control dialog box, where you can change the tool tip text or the control icon for the selected item.

Definition

Command Description
Definition Displays the location in the Code window where the variable or procedure under the pointer is defined. If the definition is in a referenced library, it is displayed in the Object Browser.

Delete Item, Delete Page, Delete Watch

Command Description
Delete <item> Deletes the selected item from the Toolbox. You can add the item again using the Additional Controls command on the shortcut menu.
Delete Page Permanently deletes the selected page from the Toolbox.
Delete Watch Deletes the selected watch expression.

Dockable

Command Description
Dockable Toggles the ability to dock the active window on and off. A window is docked when it is attached or "anchored" to one edge of the screen, application window, or another dockable window. When you move a dockable window, it "snaps" to the location. A window is not dockable when you can move it anywhere on the screen and leave it there.

Help

Command Description
Help Displays the Help topic related to the item selected when the Help command is chosen.

Hide

Command Description
Hide Hides the active window, project, folder, module, or the Toolbox.

Import Page, Export Page

Imports and exports pages.

Command Description
Import Page Opens the Import Page dialog box so that you can find and select the page you want to add to the Toolbox. The Import Page dialog box is the Windows Open common dialog box.
Export Page Opens the Export Page dialog box so that you can select a location and name for the selected page that you want to export from the Toolbox. The Export Page dialog box is the same as the Windows Save common dialog box.

Move

Command Description
Move Depending on whether a window or the Toolbox is active when you select the Move command, one of the following actions occurs:
- Changes the pointer to a  so you can move the active window to another location.
- Displays the Tab Order dialog box where you can change the order of the pages in your Toolbox.You can move the selected page to the left or right of the other pages.

New Page

Command Description
New Page Adds a new tabbed page with the name New Page. Use the Rename command on the shortcut menu to change it. You can have more than one page with the name New Page. When you add a new page to the Toolbox, the page automatically contains the Pointer tool.

Object Browser

Command Description
Copy Copies the text for the selected class or member to the Clipboard.
Find Whole Word Only Allows you to search for occurrences that exactly match the word you typed into the Search Text box of the Object Browser.
Group Members Toggles the Members Of pane between an alphabetical list of the members of the selected class and a list grouped by the member type.
Properties Displays the Member Options dialog box where you type a description of the custom member and give it a Help Context ID and Help File name. Only available for items containing Basic code.
Show Hidden Members Shows and hides the hidden members in the Object Browser for each class. Hidden members are members that are not intended for use by the programmer of the reusable object and are not normally visible in the Object Browser. They appear as light gray text.
View Definition Takes you to the definition of the selected member.

Properties

Command Description
Properties Opens the Properties window for the selected item.

Rename

Command Description
Rename Displays the Rename dialog box so that you can change the name of the selected page in your Toolbox and create a tip.
Caption Allows you to give a new name to the tabbed page.
Control Tip Text Allows you to create a tip for the tabbed page.

Size

Command Description
Size Changes the pointer so that you can resize the active window or Toolbox.

Toggle

Command Description
Breakpoint Sets or removes a breakpoint at the current line.
Bookmark Displays or removes a bookmark at the active line in the Code window.

View Object, View Code

Allows you to view either the Design window or the Code window.

Command Description
View Object Displays or activates the selected item.
View Code Displays or activates the Code window for a currently selected object.

Leave a comment

Your email address will not be published. Required fields are marked *

Format your code: <pre><code class="language-vba">place your code here</code></pre>