Control Manipulation Shortcut Keys, Visual Basic 6.0 Default Shortcut Option

The following shortcut key combinations can be used to move, select, and change the size of controls on design surfaces.

Command

Shortcut Keys

Description

Edit.MoveControlDown

CTRL + DOWN ARROW

Moves the selected control down in increments of 1 on the design surface.

Edit.MoveControlDownGrid

DOWN ARROW

Moves the selected control down in increments of 8 on the design surface.

Edit.MoveControlLeft

CTRL + LEFT ARROW

Moves the control left in increments of 1 on the design surface.

Edit.MoveControlLeftGrid

LEFT ARROW

Moves the control left in increments of 8 on the design surface.

Edit.MoveControlRight

CTRL + RIGHT ARROW

Moves the control to the right in increments of 1 on the design surface.

Edit.MoveControlRightGrid

RIGHT ARROW

Moves the control right in increments of 8 on the design surface.

Edit.MoveControlUp

CTRL + UP ARROW

Moves the control up in increments of 1 on the design surface.

Edit.MoveControlUpGrid

UP ARROW

Moves the control up in increments of 8 on the design surface.

Edit.SelectNextControl

TAB

Selects the next control on the design surface.

Edit.SelectPreviousControl

SHIFT + TAB

Selects the previously selected control on the design surface.

Edit.SizeControlDown

CTRL + SHIFT + DOWN ARROW

Increases the height of the control in increments of 1 on the design surface.

Edit.SizeControlDownGrid

SHIFT + DOWN ARROW

Increases the height of the control in increments of 8 on the design surface.

Edit.SizeControlLeft

CTRL + SHIFT + LEFT ARROW

Reduces the width of the control in increments of 1 on the design surface.

Edit.SizeControlLeftGrid

SHIFT + LEFT ARROW

Reduces the width of the control in increments of 8 on the design surface.

Edit.SizeControlRight

CTRL + SHIFT +RIGHT ARROW

Increases the width of the control in increments of 1 on the design surface.

Edit.SizeControlRightGrid

SHIFT + RIGHT ARROW

Increases the width of the control in increments of 8 on the design surface.

Edit.SizeControlUp

CTRL + SHIFT + UP ARROW

Decreases the height of the control in increments of 1 on the design surface.

Edit.SizeControlUpGrid

SHIFT + UP ARROW

Decreases the height of the control in increments of 8 on the design surface.

Format.BringToFront

CTRL + J

Moves the selected control to the top of the Z-order.

See Also

Tasks

How to: Work with Shortcut Key Combinations

Reference

Global Shortcut Keys, Visual Basic 6.0 Default Shortcut Option

Other Resources

Visual Basic 6.0 Default Shortcut Keys