Adding the Form's Labels and Text Boxes

You now can add the labels and the text boxes to the interest rate calculation application. In this section, you will learn a shortcut method for adding multiple occurrences of the same control to the same form.

Putting on the First Label and Text Box Set

Follow these steps to add the first set of label and text box controls:

1.
Add the Interest Rate label as follows: Name: lblRate Alignment: 1-RightJustify Caption: &Interest rate (8 for 8%): Font: Regular 14 Height: 375 Left: 2040 Top: 1080 Width: 2895
2.
Set up the Interest Rate text box as follows: Name: txtRate Alignment: 0-LeftJustify Font: 10 Height: 375 Left: 5160 ToolTipText: Actual rate investment grows Top: 1080 Width: 615
3.
Blank out the ...

Get Absolute Beginner's Guide to Programming, Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.