When we click “ Display “, a message box will appear “END” will stop the execution.
A) Property :
Command Button 1 : NAME - Command1, CAPTION-Display Command Button 2 : NAME - Command2, CAPTION-End |
B) Attaching Code to the Object :
Private Sub Command1_Click() MsgBox "Hello" End Sub |
Private Sub Command2_Click() End End Sub |
Private Sub Form_Load() End Sub |
=========================================================================
Back to Home & VB
No comments:
Post a Comment