单选题 VB
题号 #145345

在窗体上画一个名称为Text1的文本框,并编写如下程序: 
Private Sub Form_Load() 
Show 
Text1.Text = "" 
Text1.SetFocus 
End Sub 
Private Sub Form_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single) 
Print "程序设计" 
End Sub 
Private Sub Text1_KeyDown(KeyCode As Integer, Shift As Integer) 
Print "Visual Basic"; 
End Sub 
程序运行后,如果按"A"键,然后单击窗体,则在窗体上显示的内容是(  )。

进入在线模考

参考答案

D

答案解析

暂无解析

你可能感兴趣的试题

A.Static arr1(3)
arr1(1) = 100
arr1(2) = "Hello"
arr1(3) = 123.45
B.Dim arr2() As Integer
 Dim size As Integer
 Private Sub Command2_Click()
 size = InputBox("输入:")
 ReDim arr2(size)
......
  End Sub
C.Option Base 1
Private Sub Command3_Click()
Dim arr3(3) As Integer
......
  End Sub
D.Dim n As Integer
Private Sub Command4_Click()
Dim arr4(n) As Integer
......
  End Sub
找试题 · 找答案 · 找资料 在线模考