![]() |
|
|
{2} Inserting Labels
In this step we'll put all of the labels on the form and name them
appropriately. Click on the Label tool
Now look on the right of your screen and you'll see a window titled Properties. By default, the label's Caption property will be selected. Select the current caption (Label 1) and replace it with Enter #1. Then change the label's Name from (Label1) to lblfirstnumber.
You can change the label's size by dragging it's edges. You can also change the labels' Back Color and the font's Fore Color from the same window. Now, create two more labels and place them below lblFirstNumber. Name them lblOperation and lblSecondNumber, respectively. Now change the Caption of lblOperation to Operation and the Caption of lblSecondNumber to Enter #2. You should have something that looks like this:
Add a fourth label at the very top (make it long so that it covers the whole width of the form) and name it lblAnswer. Remove its Caption so that it appears blank. Set its Border Style property to 1 - Fixed Single. This is how your form should look now:
|