单选题
VB
2008-03-20
在窗体(名称为Form1)上画一个名称为Text1的文本框和一个名称为Command1的命令按钮,然后编写一个事件过程。程序运行后,如果在文本框中输入一个字符,则把命令按钮的标题设置为“计算机等级考试”。以下能实现上述操作的事件过程是( )。
A.Private Sub Text1_Change()
Command1.Caption = "计算机等级考试"
End Sub
Command1.Caption = "计算机等级考试"
End Sub
B.Private Sub Command1_ Click ()
Caption = "计算机等级考试"
End Sub
Caption = "计算机等级考试"
End Sub
C.Private Sub Form1_ Click ()
Text1.Caption = "计算机等级考试"
End Sub
Text1.Caption = "计算机等级考试"
End Sub
D.Private Sub Command1_ Click ()
Text1.Text = "计算机等级考试"
End Sub
Text1.Text = "计算机等级考试"
End Sub
参考答案
A
答案解析
暂无解析
你可能感兴趣的试题
A.1
B.True
C.False
D.2
A.b = Left(a, 10)
B.b = Mid(a, 10)
C.b = Right(a, 10)
D.b = Mid(a, 11, 10)
A.Microsoft Visual
B.Microsoft
C.Basic
D.5