Private Sub Timer2_Timer()
    Me.Caption = Right(Me.Caption, Len(Me.Caption) - 1) & Left(Me.Caption, 1)
End Sub
大家好,我刚开始学VB在某书中看到一个这样的例子,已设置好timer的interval,enabled
假如caption="hello,world"
我的理解是caption每隔interval=200毫秒显示一次"ello,worldh",应该不会有移动,当然我的理解是错的
另外:
为什么删掉 & Left(Me.Caption, 1)会报错?
Left(Me.Caption, 1)变成Left(Me.Caption, 2)后,当timer运行第二遍时出现在重叠。高手帮帮菜菜,实在想不出来!