Exercise 1 ~ Greetings from Earth

Create a program interface that displays "Greetings from Earth" in a textbox with the click of a button. The program must also have a Clear button to clear the text and an Exit button to exit the program. Save application as Greetings.
  • Title of Form is Greetings
  • Textbox must start out empty
  • button is clicked to create text
  • button is clicked to clear text
  • button is clicked to exit program
poof.jpg (13464 bytes)
Now that everything is working change the font name, size and color to something other than default (change the Font and Forecolor properties). ex2-1-4.jpg (23223 bytes)
Object Property Setting
Form Caption Greetings from Earth
Name FrmGreetings
Textbox Text (Empty)
Name txtHello
Command Button Caption Click Here
Name cmdClickHere
Command Button Caption Quit
Name cmdQuit
Command Button Caption Clear
Name cmdClear