Walk Lightly on this PLANET and yet leave such a FOOTPRINT that cannot be erased for thousands of Years..!!!
Visit Codstech for Cyber Security related Posts !

Visitors

Monday, May 23, 2011

VB-4 : Testing MOVE



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: