正在加载图片...
(18)在窗体上画两个文本框,其名称分别为Text1和Text2,然后编 写如下程序 Private Sub Form Loado Show Textl. Text= Text2 Text Text1. Set Focus End Sub Private Sub Textl Changeo Text2 Text= Mid(Text1. Text, 8) End Sub 程序运行后,如果在文本框Text1中输入 BeijingChina,则在文本框 Text2中显示的内容是 a) BeijingChina b) Chinac) Beijing d) Beijing (19)在窗体上画一个列表框和一个命令按钮,其名称分别为List1和 Command1,然后编写如下事件过程 Private Sub Form Load Listl AddItem Item 1 List. AddItem" Item 2 List1 AddItem" Item 3( 18 )在窗体上画两个文本框,其名称分别为 Text1 和 Text2 ,然后编 写如下程序: Private Sub Form_Load() Show Text1.Text = "" Text2.Text = "" Text1.SetFocus End Sub Private Sub Text1_Change() Text2.Text = Mid(Text1.Text, 8) End Sub 程序运行后,如果在文本框 Text1 中输入 BeijingChina ,则在文本框 Text2 中显示的内容是 A ) BeijingChina B ) China C ) Beijing D ) BeijingC ( 19 )在窗体上画一个列表框和一个命令按钮,其名称分别为 List1 和 Command1 ,然后编写如下事件过程: Private Sub Form_Load() List1.AddItem "Item 1" List1.AddItem "Item 2" List1.AddItem "Item 3
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有