单选题
在窗体上有两个文本框:Text1和Text2,然后编写如下事件过程:
Private Sub
Form_Load()
Show
Text1.Text=""
Text2.Text=""
Text2.SetFocus
End
Sub
Private Sub Text2_KeyDown(KeyCode As Integer,Shift As
Integer)
Text1.Text=Text1.Text+Chr(KeyCode-4)
End Sub
程序运行后,如果在Text2文本框中输入“ertyu”,则Text1文本框中的内容为______。
- A.anpuq
- B.ANPUQ
- C.ERTYU
- D.ertyu