Multi-line event handlers, assign top and left

This assignment tests your ability to write programs with assignment statements in multiple instruction event handlers and gives practice with the top and left properties.

Write a program that does the same thing as this greeting program

Note that when the program first executes, the "X" label is centered and the "Up" button has focus. When your program is exactly the same as mine, print screen shots of the program when it first loads and after a button has been clicked and a listing of the event handlers.

Hint: I moved the label by assigning different values to its Top and Left properties.


Disclaimer: The views and opinions expressed on unofficial pages of California State University, Dominguez Hills faculty, staff or students are strictly those of the page authors. The content of these pages has not been reviewed or approved by California State University, Dominguez Hills.