在窗体上画两个文本框和一个命令按钮,然后在命令按钮的代码窗口中编写如下事件过程: Private Sub Command1_Click() Text l=“VB programming” Text 2= Text l Text l="ABCD" End S

admin2010-01-05  25

问题 在窗体上画两个文本框和一个命令按钮,然后在命令按钮的代码窗口中编写如下事件过程:
Private Sub Command1_Click()
Text l=“VB programming”
Text 2= Text l
Text l="ABCD"
End Sub程序运行后,单击命令按钮,文本框Text2中显示的内容为【  】。

选项

答案VB programming

解析 本段程序是先把"VB programming" 赋给Text I,然后在把Text I的内容赋给Text2,最后把“ABCD”赋给Text l。所以最后Text l中的内容是“ABCD”,而Text2中的内容是“VB programming”。
转载请注明原文地址:https://kaotiyun.com/show/nWwp777K
0

随机试题
最新回复(0)