How to work with the Close Button to close the program
To work with the Close Button to close the program
Step 1:
To close the program during runtime, you can add a button to the form:
Step 2:
Set caption of the button properties:
Caption=Close
Step 3:
Double click on the button and write down the programming codes:
Private Sub Command9_Click()
Close
End Sub
By clicking on the 'Close' button, a user can close the program directly.
No comments:
Post a Comment