Controls in Visual Basic

Text of video


Start a new project and add a label to the form. The label will have the text Label1. that is also the name of the label. Your project now has two objects: the form, Form1, and the label, Label1. Click first on the form then on the label to select it. Depending on which control is selected (look for the handles) the list of properties changes. Look at the property list for the form and the then for the label.

Change the text for the form to "Greetings." Change the text for the label to "Welcome to my World." Although there is no way to change the appearance of the title, the label has many properties that can be changed to alter the appearance of the words.

Try changing each of these properties of the label: Font, ForeColor, BackColor, and BorderStyle.

NEXT: Ambient Properties for a Uniform Look