Option ExplicitDim W As LongPrivate Sub Command1_Click()Timer1.Interval = 100End SubPrivate Sub Command2_Click()Timer1.Interval = 0End SubPrivate Sub Timer1_Timer()W = Me.WidthIf Label1.Left > W Then Label1.Left = 0 - Label1.Width Else Label1.Left = Label1.Left + 84End IfEnd Sub附源文件,VB6运行通过。