08-05-2009, 07:04 PM
Double click the control, and it'll bring up the _Click code of the control.
Say you have a picture box called picExit. You double click the picture box, and the code will come up with something like
Then in the picExit_Click sub, you could put something like this
Say you have a picture box called picExit. You double click the picture box, and the code will come up with something like
Code:
Private Sub picExit_Click()
End Sub
Code:
Private Sub picExit_Click()
Unload Me
End Sub