TIMER

Timer控件可以使用下列哪种事件()

A:Click事件 B:Timer事件 C:Dblclick事件 D:Change事件

设窗体上有一个标签Label1和一个计时器Timer1,Timer1的Interval属性被没置为1000,Enabled属性被设置为True。要求程序运行时每秒在标签中显示一次系统当前时间。以下可以实现上述要求的事件过程是( )

A:Private Sub Timer1_Timer() B:Label1.Caption=True C:End Sub D:Private Sub Timer1_Timer() E:Label1.Caption=Time$ F:End Sub G:Private Sub Timer1_Timer() H:Label1.Interval=1 I:End Sub J:Private Sub Timer1_Timer() K:For k=1 To Timer1.Interval L:Label1.Caption=Timer M:Next k N:End Sub

在窗体上有一个文本框控件,名称为TxtTime;一个计时器控件,名称为Timer1,要求每一秒在文本框中显示一次当前的时间。程序为
Procedure Timer1 ______( )
  ThisForm.TxtTime.Value=Time
EndProc

A:Enabled B:Visible C:Interval D:Timer

在窗体上画一个名称为Timer1的计时器控件,要求每隔0.5秒发生一次计时器事件,则以下正确的属性设置语句是

A:Timer1.Interval=0.5 B:Timer1.interval=5 C:Timer1.Interval=50 D:Timer1.Interval=500

在窗体上有一个文本框控件,名称为TxtTime;一个计时器控件,名称为Timer1,要求每一秒在文本框中显示一次当前的时间。程序为 Procedure Timer1 ______( )   ThisForm.TxtTime.Value=Time EndProc

A:Enabled B:Visible C:Interval D:Timer

设窗体上有一个标签Label 1和一个计时器Timer1,Timer1的Interval属性被设置为1000, Enabled属性被设置为True。要求程序运行时每秒在标签中显示一次系统当前时间。下列可以实现上述要求的事件过程是( )。

A:Private Sub Timer1_Timer() Labell.Caption=True End Sub B:Private Sub Timer1_Timer() Labell.Caption=Time$ End Sub C:Private Sub Timer1_Timer() Labell.Interval=1 End Sub D:Private Sub Timer1_Timer() For k=1 To Timerl.Interval Label1.Caption=Timer Next K End Sub

设窗体上有一个标签Label 1和一个计时器Timer1,Timer1的Interval属性被设置为1000, Enabled属性被设置为True。要求程序运行时每秒在标签中显示一次系统当前时间。下列可以实现上述要求的事件过程是( )。

A:Private Sub Timer1_Timer() LabelCaption=True End Sub B:Private Sub Timer1_Timer() LabelCaption=Time$ End Sub C:Private Sub Timer1_Timer() LabelInterval=1 End Sub D:Private Sub Timer1_Timer() For k=1 To TimerInterval Label1.Caption=Timer Next K End Sub

微信扫码获取答案解析
下载APP查看答案解析