全部题库 / VB / 试题详情
单选题 VB
2008-03-22

在窗体上画一个名称为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"键,然后单击窗体,则在窗体上显示的内容是(  )。

A.Visual Basic 
B.程序设计 
C.A程序设计 
D.Visual Basic程序设计

参考答案

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