# Re: 开启一中文文字档在label中卷动

Posted by lobo on March 30, 1999 at 00:41:11:

In Reply to: 开启一中文文字档在label中卷动 posted by vb beginner on March 30, 1999 at 00:15:41:

: 小弟open一中文文字档在label中,不知要如何处理才能在label中卷动?

要利用timer
将label放在picturebox中
Private Sub Timer1_Timer()
If Label1.Left < -Label1.Width Then
Label1.Left = Picture1.Width + 30
Else
Label1.Left = Label1.Left - 30
End If
End Sub
改变Timer.interval就可以调速度!!

Follow Ups: