更多"在窗体上画一个文本框,然后编写如下事件过程: Private Sub"的相关试题:
[填空题]在窗体上画一个文本框和一个图片框,然后编写如下两个事件过程:
Private Sub Form_Click( )
Text1.Text=“VB程序设计”
End Sub
PrivmeSubText1_Change( )
Picture1.Print"VB Programming"
End Sub
程序运行后,单击窗体,则在文本框中显示的内容是 【7】 ,而在图片框中显示的内容是 【8】 。
[单项选择]在窗体上画一个文本框和一个列表框,然后编写如下两个事件过程:
Private Sub Form_Load( )
List1.Addltem "357"
List1.Addltem "246"
List1.Addltem "123"
List1.AddItem "456"
Text1.Text = ""
End Sub
Private Sub Listl_DblClick0
m=List1.Text
Print m + Text1.Text
End Sub
程序运行后,在文本框中输入“123”,然后双击列表框中的“456”,输出结果为( )。
A. 1245
B. 456123
C. 123456
D. 0
[填空题]在窗体上画一个文本框和一个图片框,然后编写如下两个事件过程:
Private Sub Form_Click( )
Text1.Text="VB程序设计"
End Sub
Private Sub Text1_Change( )
Picture1.Print"VB programming"
End Sub
程序运行后,单击窗体,则在文本框中显示的内容是 【7】 ,而在图片框中显示的内
容是 【8】 。
[填空题]在窗体上画一个文本框和一个图片框,然后编写如下两个事件过程:
Private Sub Form_Click( )
Text1.Text="VB程序设计"
End Sub
Private Sub Text1_Change( )
Picturel.Print"VB Programming"
End Sub
程序运行后,单击窗体,则在文本框中显示的内容是______,而在图片框中显示的内容是______。
[单项选择]在窗体上画一个文本框和一个列表框,然后编写下列两个事件过程:
Private Sub Form_Load( )
List1.AddItem"357"
List1.AddItem"246"
List1.AddItem"123"
List1.AddItem"456"
Text1.Text=""
End Sub
Private Sub List1 DblClick( )
m=List1.Text
Print m+Text1.Text
End Sub
程序运行后,在文本框中输入“123”,然后双击列表框中的"456",输出结果是( )。
A. 1245
B. 456123
C. 123456
D. 0
[单项选择]在窗体上画一个文本框和一个列表框,然后编写如下两个事件过程:
Private Sub Form_Load( )
List1.AddItem "357"
List1.AddItem "246"
List1.AddItem "123"
List1.AddItem "456"
Text1.Text=""
End Sub
Private Sub List1_Db1Click( )
m=List1.Text
Print m+Text1.Text
End Sub
程序运行后,在文本框中输入“123”,然后双击列表框中的“456”,输出结果为( )。
A. 1245
B. 456123
C. 123456
D. 0
[填空题]在窗体上画一个文本框和一个图片框,然后编写如下两个事件过程:
Private Sub Form_Click( )
Text1.Text="VB程序设计"
End Sub
Private Sub Text1_Change( )
Picture1.Print"VB Programming"
End Sub
程序运行后,单击窗体,则在文本框中显示的内容是______,而在图片框中显示的内容是______