When you write a Visual Basic program, you first have to design the user interface. Essentially, a Visual Basic user interface consists of objects that you place on the screen and arrange in some semblance of organization so that the screen looks pretty.
The common elements of a Visual Basic user interface appear in Figure 1 and consist of the following:
- Forms (also known as windows)
- Buttons (such as command buttons and radio buttons)
- Boxes (such as text boxes and check boxes)
- Pictures (such as icons and graphics)
 |
Figure 1: The elements of a typical Visual Basic user interface. |
To design your user interface, follow these steps:
1. Create a form.
2. Choose the object you want to draw from the Toolbox. (See Table 1.)
3. Draw the object on the form.
Table 1: Tools in the Visual Basic Toolbox
|