单选题
VB
题号 #144560
在窗体上画一个文本框,然后编写如下事件过程:
Private Sub Form_Click()
x = InputBox("请输入一个整数")
Print x + Text1.Text
End Sub
程序运行时,在文本框中输入456,然后单击窗体,在输入对话框中输入123,单击“确定”按钮后,在窗体上显示的内容为( )。
参考答案
D
答案解析
暂无解析
你可能感兴趣的试题
A.Enabled = True
B.Enabled = False
C.Visible = True
D.Visible = False
A.选择图片框,然后按Del键
B.执行语句Picture1.Picture = LoadPicture ("")
C.执行语句Picture1.Picture =""
D.选择图片框,在属性窗口中选择Picture属性条,然后按回车键
A.Private Sub List1_Click()
Label1.Caption = List1.ListIndex
End Sub
Label1.Caption = List1.ListIndex
End Sub
B.Private Sub List1_Click()
Label1.Name=List1.ListIndex
End Sub
Label1.Name=List1.ListIndex
End Sub
C.Private Sub List1_Click()
Label1.Name=List1.Text
End Sub
Label1.Name=List1.Text
End Sub
D.Private Sub List1_Click()
Label1.Caption =List1.Text
End Sub
Label1.Caption =List1.Text
End Sub