注册 登录
编程论坛 新人交流区

不知道错哪了

菩提 发布于 2007-11-07 11:27, 299 次点击

Private Sub Form_Resize()
On Error Resume Next
Form1.Width = 11220
Form1.Height = 9045
End Sub

Private Sub Timer1_Timer()
If xx = 0 Then
xx = 1
End If
If xx >= 18 Then
xx = 1
End If
Image1.Picture = Image2(xx).Picture
End Sub

一个动画的代码,可运行就是没那效果,错哪了呢?

3 回复
#2
nuciewth2007-11-07 12:05
VB?
#3
挥动2007-11-07 12:11
斑竹还行啊。。。timer空间控制动画运行,代码没错。。检查别的地方吧
#4
caomingkai2007-11-07 13:12
同意上楼的观点
1