在窗体上画两个文本框,其名称分别为Text1和Text2,然后编写如下事件过程: Private Sub Form_ Lead() Show Text1.Text = " " Text2.Text = " " Text2.SetFocus End Sub

admin2013-04-11  17

问题 在窗体上画两个文本框,其名称分别为Text1和Text2,然后编写如下事件过程:
Private Sub Form_ Lead()
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文本框中输入efghi,则Text1文本框中的内容是______。

选项

答案ABCDE

解析
转载请注明原文地址:https://kaotiyun.com/show/92Qp777K
0

最新回复(0)