单选题 VB
题号 #144422

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

进入在线模考

参考答案

C

答案解析

暂无解析

你可能感兴趣的试题

A.Private Sub Command1_Click()  
   CommonDialog1.DialogTitle = "New Title"  
   CommonDialog1.ShowPrinter  
  End Sub  
B.Private Sub Command1_Click()  
   CommonDialog1.DialogTitle = "New Title"  
   CommonDialog1.ShowFont  
  End Sub  
C.Private Sub Command1_Click()  
   CommonDialog1.DialogTitle = "New Title"  
   CommonDialog1.ShowOpen  
  End Sub  
D.Private Sub Command1_Click()  
   CommonDialog1.DialogTitle = "New Title"  
   CommonDialog1.ShowColor  
  End Sub
A.任何时刻最多只有一个窗体是活动窗体  
B.不能把标准模块设置为启动模块  
C.用Hide方法只是隐藏一个窗体,不能从内存中清除该窗体  
D.如果工程中含有Sub Main过程,则程序一定首先执行该过程
找试题 · 找答案 · 找资料 在线模考