Project #161272 - homework #4

Computer Tutors

Subject Computer
Due By (Pacific Time) 12/19/2016 08:00 pm

Simulate a traffic light with three small square text boxes placed vertically on a form. 

 

Initially, the bottom text box is solid green and the other text boxes are dark gray. When the Tab key is pressed, the middle text box turns yellow and the bottom text box turns dark gray.  The next time Tab is pressed, the top text box turns red and the middle text box turns dark gray.  Subsequent pressing of the Tab key cycles through the three colors.  Hint: First place the bottom text box on the form, then the middle text box and finally the top text box.

 

Additional Requirements:

  • When you name your project use your last name and HW4 – for example: LastNameHW4
  • The file name of the form must be renamed appropriately in the Solution Explorer (ie. it must start with the frm prefix)
  • All objects must be named with a proper 3-letter prefix
  • The text that appears in the title bar of the form must be “Traffic Light”
  • All three text boxes must be the same size and they must be aligned properly with respect to each other
  • Place a comment at the top of your code with your name. Comments are discussed on page 80 of the book.  A comment begins with the ‘ character, for example,

 

‘CSC 104 Instructor

TutorRating
pallavi

out of 1971 reviews
amosmm

out of 766 reviews
PhyzKyd

out of 1164 reviews
rajdeep77

out of 721 reviews
sctys

out of 1600 reviews
sharadgreen

out of 770 reviews
topnotcher

out of 766 reviews
XXXIAO

out of 680 reviews