O'Reilly logo

Absolute Beginner's Guide to Programming, Second Edition by Greg Perry

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 text box's ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required