Drawing a Control
A control is a graphical object drawn with the tools in the Toolbox Each control has a set of properties , events , and methods that can be used to add specialized functionality to your application ..
To draw a control
1. In the Toolbox, select the tool you want.
2. Click the form where you want to place the control.
As you move the pointer onto the form, it changes to a cross hair .
3. Click and drag the cross hair to make the item the size you want.
In the Toolbox, double-click the tool you want.
The control appears in the center of the form. Move and resize it as desired for your application.
Note Option buttons always work as part of a group. Selection of one button within a container immediately clears all other buttons in the group. If you want to create more than one option group on a form, draw each set of option buttons inside a frame or picture box .
For details on the properties, events, and methods that pertain to each control, see the individual control topics under Controls.
Attaching an Event Procedure to a Form or Control
Creating a Control Array
Setting Form and Control Properties
Learning Visual Basic:
Creating an Application
Working with Forms and Controls
Chapter 2, "Your First Visual Basic Application"
Chapter 3, "Creating and Using Controls"