填空题

VisualBasic中有一种控件组合了文本框和列表框的特性,这种控件是______。

【参考答案】

组合框或组合
<上一题 目录 下一题>
热门 试题

单项选择题
在窗体上画一个名称为CommonDialogl的通用对话框,一个名称为Commandl的命令按钮。然后编写如下事件过程: Private Commandl_Click() CommonDialogl.FileName= CommonDialogl.Filter= Allfile|*.*|(*.Doc)|*.Doc|(*.Txt)|*.Txt CommonDialogl.Filterlndex=2 CommonDialogl.DialogTifle= VBTest CommonDialogl.Action=1 EndSub 对于这个程序,以下叙述中错误的是( )。
A.该对话框被设置为“打开”对话框
B.在该对话框中指定的默认文件名为空
C.该对话框的标题为VBTest
D.在该对话框中指定的默认文件类型为文本文件(*.Txt)
单项选择题
下列程序运行后,单击命令按钮,窗体显示的结果为( )。 Private Function pl(x As Integer,y As Integer,z As Integer) pl=2*x+y+3*z End Function Private Function p2(X As Integer,y As Integer,z As Integer) p2=p1(z,y,x)+x End Function Private Sub Commandl_Click() Dim a As Integer Dim b As Integer Dim c As Integer a=2:b=3:c=4 Print p2(c,b,a) End Sub
A.23
B.19
C.21
D.22
相关试题
  • 下列程序是将数组a的元素倒序交换,即第1...
  • 以下程序用来计算由键盘输入的N个数中正数...
  • b(n,m)As Integer a(I,j)
  • Private Sub Form_Activate() Forj=...
  • ReDim a(m,n)As Integer