2.Private Sub Form_Load() Timer1.Interval = 200 Label1.AutoSize = True Label1.Caption = "×£ÄãѧºÃVB" End SubPrivate Sub Timer1_Timer() If Me.Width - Label1.Width < Label1.Left Then Label1.Left = 0 Else Label1.Left = Label1.Left + 100 End If End Sub
'不好意思,有乱码 Private Sub Form_Load() Timer1.Interval = 200 Label1.AutoSize = True Label1.Caption = 祝你学好VB" End SubPrivate Sub Timer1_Timer() If Me.Width - Label1.Width < Label1.Left Then Label1.Left = 0 Else Label1.Left = Label1.Left + 100 End If End Sub
Timer1.Interval = 200
Label1.AutoSize = True
Label1.Caption = "×£ÄãѧºÃVB"
End SubPrivate Sub Timer1_Timer()
If Me.Width - Label1.Width < Label1.Left Then
Label1.Left = 0
Else
Label1.Left = Label1.Left + 100
End If
End Sub
Private Sub Form_Load()
Timer1.Interval = 200
Label1.AutoSize = True
Label1.Caption = 祝你学好VB"
End SubPrivate Sub Timer1_Timer()
If Me.Width - Label1.Width < Label1.Left Then
Label1.Left = 0
Else
Label1.Left = Label1.Left + 100
End If
End Sub