”Label”、”Label”
”Label1”、”VisualBasic”
”Label1”、”Label1”
”Caption”、”Label”
第1题:
若窗体名称为Form1,则将该窗体标题设置为“Access窗体”的语句是【9】。
第2题:
窗体Form1上有一个名称为Command1的命令按钮,以下对应窗体单击事件的事件过程是( )。
A.Private Sub Form1 Click( )
End Sub···
B.Private Sub Form1. Click( )
End Sub···
C.Private Sub Command1 click( )
End Sub···
D.Private Sub Command Click( )
End Sub···
第3题:
以下能在窗体Form1的标题栏中显示“VisualBasic窗体\"的语句是( )。
A.Form1.Name="VisualBasic窗体"
B.Form1.Title="VisualBasic窗体"
C.Form1.Caption="VisualBasic窗体"
D.Form1.Text="VisualBasic窗体"
第4题:
在名为Form1的窗体中建立一个命令按钮,名为Cmd1,标题为Show(如下图所示)。编写适当的事件过程,使程序运行后,若单击Show按钮,则执行语句Form1.Print"Show"如果单击窗体,则执行语句Form1.Cls。
注意:
文件必须存放在考生文件夹中, 窗体文件名为execise351frm,工程文件名为 execise35.vbp。
第5题:
当关闭窗体(Form1)或执行Unload语句时所能触发的事件是
A.Form1_Unload
B.Form1_Unload
C.Form1_Close
D.Form1_End
第6题:
某人创建了—个工程,其中的窗体名称为Form1;之后又添加了—个名为Form2的窗体,并希望程序执行时先显示Form2窗体,那么,他需要做的工作是______。
A.在工程属性对话框中把“启动对象”设置为Form2
B.在Form1的Load事件过程中加入语句Load Form2
C.在Form2的Load事件过程中加入语句Form2.Show
D.把Fonn2的TabIndex属性设置为1,把Form1的TabIndex属性设置为2
第7题:
A.Label和Label
B.Label1和Label1
C.Label1和Visual Basic
D.Label和Caption
第8题:
某人创建了1个工程,其中的窗体名称为Form1;之后又添加了1个名为Form2的窗体,并希望程序执行时先显示Form2窗体,那么,他需要做的工作是( )。
A.在工程属性对话框中把“启动对象”设置为Form2
B.在Form1的Load事件过程中加入语句 Load Form2
C.在Form2的Load事件过程中加入语句Form2.Show
D.在Form2的TabIndex属性设置为1,把Form1的TabIndex属性设置为2
第9题:
以下能在窗体Form1的标题栏中显示“Visual Basic窗体”的语句是
A.Form1.Name=“Visual Basic窗体”
B.Form1.Title=“VisualBasic窗体”
C.Form1.Caption=“VisualBasic窗体”
D.Form1.Text=“VisualBasic窗体”
第10题:
以下能在窗体Forml的标题栏中显示“Visual Basic窗体”的语句是( )。
A.Forml.Namer="VisualBasic窗体"
B.Forml.Title="VisualBasic窗体"
C.Forml.Caption="VisualBasic窗体"
D.Forml.Text="VisualBasic窗体"