Tuesday, December 11, 2007

How to work with Double click on Event Procedure

How to work with Double click on Event Procedure

To work with Double click on Event Procedure

Step 1:

Double click on the Form1:

Step 2:

Select an Event from the drop down box:

Step 3:

Type in the programming codes. In this example, 'Hello' will be displayed on the form after double clicking on the form:

Private Sub Form_DblClick()

Print "Hello"

End Sub

Step 4:

Choose Run>Start

Step 5:

This is the result of double clicking on the form:

No comments: