Udostępnij za pośrednictwem


Global Shortcut Keys, Visual Basic 6.0 Default Shortcut Option

The following shortcut key combinations can be used in various places within the integrated development environment (IDE).

Command

Shortcut Keys

Description

Edit.Copy

CTRL + C

CTRL + INSERT

Places a duplicate of the currently selected item on the system Clipboard.

Edit.Cut

CTRL + X

SHIFT + DELETE

Removes the currently selected item to the system Clipboard.

Edit.CycleClipboardRing

CTRL + SHIFT + V

CTRL + SHIFT + INSERT

Pastes an item from the Clipboard Ring tab of the Toolbox at the insertion point in the file and automatically selects the pasted item. You can review each item on the Clipboard by repeatedly pressing the shortcut keys.

Edit.Delete

DELETE

Deletes one character to the right.

Edit.DeleteBackwards

BACKSPACE

SHIFT + BACKSPACE

Deletes one character to the left.

Edit.GotoNextLocation

F12

Moves the cursor to the next item, such as a task in the Task List window or a search match in the Find Results window. Each time you press F12, you move to the next item in the list.

Edit.GotoPreviousLocation

SHIFT + F12

Moves the cursor to the previous item in the Task List window or Find Results window.

Edit.ListMembers

CTRL + J

Lists members of the current class for statement completion when editing code.

Edit.ParameterInfo

CTRL + SHIFT + I

Displays a ToolTip that contains information for the current parameter based on the current language.

Edit.Paste

CTRL + V

SHIFT + INSERT

Inserts the Clipboard contents at the insertion point.

Edit.QuickInfo

CTRL + I

Displays the complete declaration for the identifier nearest the insertion point in a ToolTip.

Edit.Redo

CTRL + SHIFT + Z

SHIFT + ALT + BACKSPACE

Restores the previously undone action.

Edit.SelectionCancel

ESC

Closes a menu or dialog box, cancels an operation in progress, or places focus in the current document window.

Edit.Undo

ALT + BACKSPACE

CTRL + Z

Reverses the last editing action.

File.AddExistingItem

CTRL + D

Displays the Add Existing Item dialog box, which allows you to add an existing file to the current project.

File.AddNewItem

CTRL + SHIFT + A

Displays the Add New Item dialog box, which allows you to add a new file to the current project.

File.Exit

ALT + Q

Exits the integrated development environment.

File.Print

CTRL + P

Displays the Print dialog box where you can choose printer settings.

File.SaveAll

CTRL + SHIFT + S

Saves all documents in the current solution and any files in the external files project.

File.SaveSelectedItems

CTRL + S

Saves the selected items in the current project.

Tools.GoToCommandLine

CTRL + /

Places the caret in the Find/Command box on the Standard toolbar.

View.NavigateBackward

CTRL + SHIFT + F2

Goes back to the previous document or window in the navigation history.

View.NavigateForward

CTRL + SHIFT + -

Moves forward to the next document or window in the navigation history.

View.WebNavigateBack

ALT + LEFT ARROW

Displays the previous page in the viewing history. Available only in the integrated Web browser.

View.WebNavigateForward

ALT + RIGHT ARROW

Displays the next page in the viewing history. Available only in the integrated Web browser.

See Also

Tasks

How to: Work with Shortcut Key Combinations

Reference

Project Shortcut Keys, Visual Basic 6.0 Default Shortcut Option

Integrated Help Shortcut Keys, Visual Basic 6.0 Default Shortcut Option

Other Resources

Visual Basic 6.0 Default Shortcut Keys