MOVING TEXT BOX WHEN THE APPLICATION IS RUNNING
MOVING TEXT BOX WHEN THE APPLICATION IS RUNNING
API Declarations
'SPECIFY THE MOVING SPEED OF THE TEXT2 IN THE TEXT1
'BY USING THE ARROW KEYS U CAN MOVE THE TEXT BOX
Rate MOVING TEXT BOX WHEN THE APPLICATION IS RUNNING
(1(1 Vote))
If KeyCode = 39 Then
Text2.Left = Text2.Left + Val(Text1.Text)
End If
If KeyCode = 40 Then
Text2.Top = Text2.Top + Val(Text1.Text)
End If
If KeyCode = 38 Then
Text2.Top = Text2.Top - Val(Text1.Text)
End If
If KeyCode = 37 Then
Text2.Left = Text2.Left - Val(Text1.Text)
End If
End Sub
MOVING TEXT BOX WHEN THE APPLICATION IS RUNNING Comments
No comments yet — be the first to post one!
Post a Comment