When we click “ Click Me “, a message box will appear ,and “Close” will quit the application.
A) Property :
Command Button 1 : NAME - Command1, CAPTION-Click Me Command Button 2 : NAME - Command2, CAPTION-Close |
B) Attaching Code to the Object :
Private Sub Command1_Click() Command1.Move 55, 87 Command1.Caption = "I am here" End Sub Private Sub Command2_Click() End End Sub |
=========================================================================
Back to Home & VB
No comments:
Post a Comment