题目中提供的“移动”按钮控件Command1的Click事件的源代码如下: Private Sub Command1_Click() Dim nCount As Integer nCount=CInt(Text1.Text) If(nCount>=)Then HScroll1.Value=HScroll1.Max
Else If (nCount<=HScroll1.Min) Then =HScroll1.Min MsgBox("文本框中的数字太小") Else HScroll1.Value= End If End If End Sub 注意:不能修改程序中的其他部分,不能修改控件的属性,最后把修改后的程序以原来的文件名存盘。存盘时必须存放在考生文件夹下。