怎么在VB中用定时器使文本框持续向右移动,

2024-12-16 00:04:50
推荐回答(1个)
回答1:

Private Sub Form_Load()
Timer1.Interval = 500
End Sub

Private Sub Timer1_Timer()
Text1.Left = Text1.Left + 500
End Sub