Moving square

1.     Create a form that allows the user to move a shape up, down, left, and right.

2.     The form will consist of 4 commandbuttons and 1 shape.

3.     The captions should be as follows:

a.      Commandbutton1 = UP

b.     Commandbutton2 = DOWN

c.     Commandbutton = Right

d.     Commandbutton = Left

e.      Form = Moving square

4.     Name all controls with the three letter prefix and an appropriate descriptor.

5.     Enter the appropriate code to move the square 50 pixels at a time.

6.     Design it with titles, images, icons, etc. to make it user friendly.

7.     Save as movingsquare

Back