Tuesday, December 11, 2007

How to work with Click Event Procedure

How to work with Click Event Procedure

To work with Click Event Procedure

Step 1:

Double click on the Form1:

Step 2:

Select Click Event:

Step 3:

Type the Programming codes. In this example, 'Hello Everybody' will be displayed on the form when the form is clicked:

Private Sub Form_Click()

Print "Hello Everybody"

End Sub

Step 4:

Choose Run>Start

Step 5:

This is the result of Click Event:

No comments: