Selecting Controls

See Also1YOV9TH

To select a controlXX9KJT

         In the Form windowVK6SGD, click the control you want.

 

To select multiple controls

   1. In the Form window, click one of the controls you want to select.

   2. With the control selected, press and hold down the Ctrl key, and then click each additional control you want to select.  You can deselect a control in a selection by holding down the Ctrl key and clicking the control.

Or

         In the Form window, click and drag a box around the controls you want to select.

 

Note   To select multiple controls within a container (a frame or picture box), first deselect the container.  Then while pressing the Ctrl key, click and drag a box around the controls that you want to select.

Once you have selected multiple controls, you can change the setting of properties the controls have in common with one change in the Properties window.

 

To cancel a selection

         Click anywhere on the form outside of the selected item.


See Also

Learning Visual Basic:

Working with Forms and Controls

 

Programmer's Guide:

Chapter 2, "Your First Visual Basic Application"

Chapter 3, "Creating and Using Controls"