* VB-CODE (2)
Tip 136: Using Keyboard and Mouse Shortcuts

July 1, 1995

Abstract
This article describes several undocumented keyboard and mouse features =
of
Microsoft=AE Visual Basic=AE.

Using Undocumented Keyboard and Mouse Techniques
=B7 When you are in the Microsoft=AE Visual Basic=AE code window, you =
can click in the
  left margin of the window to select a specific line, or you can =
double-click in
  the left margin to select an entire function or procedure. Similarly, =
you can
  press the CTRL key while clicking in the left margin to select all =
functions.
=B7 When designing an application, you can move a control's position =
within the
  form up, down, left, or right by holding down CTRL while pressing the
  appropriate arrow key.
=B7 When designing an application, you can manually adjust the size of a =
control by
  one pixel by holding down the SHIFT key while pressing the appropriate =
arrow key.
=B7 In the code window, pressing CTRL+SHIFT+F2 moves the cursor back to =
its previous
  location.
=B7 A context-sensitive menu is displayed for the toolbar, toolbox, =
form, control,
  code window, debug window, and project window when you right-click =
that object.


Return