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