Student Project

                   

WINGDINGS
ABILITY LEVEL: Beginner
APPROXIMATE 
COMPLETION TIME:
20 Minutes
OBJECTIVES: ·        Use an assignment statement to modify object properties
MATERIALS AND RESOURCES:
  • Visual Basic Software
  • Textbook
OVERVIEW OF PROJECT: Create a program that shows a user what characters they enter look like in a different font.
PROJECT INSTRUCTIONS:

1.      On a new form, create a label box, a text box and a command button.

2.      Change the font property in the label box to Wingdings. You may want to increase the size of the font as well.

3.      Clear the text property in the label box and the text property in the text box.

4.      Change the text property in the command button to something descriptive.

5.      Write an assignment statement in the command click routine to copy the contents of the text box into the label box.

6.      Test your program.

PROJECT EXTRAS: The End statement or the Application.Exit() method may be used to shutdown a program. Add an exit command button.

Copying nothing in to a text property empties it. Using a pair of double quotes with no space between them indicates nothing. Use that to create a Clear button that empties both the text and label boxes.

Create a number of label boxes with different fonts and font sizes. Copy the text string in to all the label boxes.

Copy the text box into the label box in response to some other event. For example, on mouse move over the label box.