填空题

窗体如图所示,其中汽车是名称为Imagel的图像框,命令按钮的名称为Command1,计时器的名称为Timer1,直线的名称为Linel。程序运行时,单击命令按钮,则汽车每0.1秒向左移动100,车头到达左边的直线时停止移动。请填空完成下面的属性设置和程序,以便实现上述功能。


1)Timer1的Interval属性的值应事先设置为()
2)Private Sub Command1_ Click()
Timer1. Enabled=True
End Sub

Private Sub Tuner1_Timer()
If Imagel. Left>() Then
Image1.Left=()-100
End If
End Sub

【参考答案】

100;Line1.x1或Llne1.x2 ;Image1.Left