Visual
Basic™ Framework
|
Software
Engineering: Simple Payroll Program |
[ Previous ] [ Quick Start Index ] [ Next ]
How to draw the
form and set the properties
A Visual Basic form can be written by
designing the form and setting the properties of the objects on the form.
1. Enlarge the form size by dragging in the bottom right hand corner.
2. Change the caption of the form from ‘Form1’ to ‘Payroll’.
|
|
Click anywhere on the form to select it. |
|
|
Activate the Properties window by clicking the Properties icon on the Toolbar or the Properties command from the Windows Menu. |
|
|
From the Properties window, double click the Caption property and type “payroll” in the new caption - you can see the changes at the top of the form. |
3. (Optional) You can choose a background colour for the form by the following step.
|
|
Select the Backcolor property - you will get a colour palette from which you can select the colour for the background of the form. |
Last revised: 06 January 2004 14:00
If you spot an error, please contact sbho@mmu.edu.my In addition, please contact me if you find some aspects of this task is not explained clearly so that I can improve this documentation.