要使标签框Label1的大小随Caption属性值作自动调整,可()
A.将Label1的Caption属性值设置为True
B.将Label1的AutoSize属性设置为Fasle
C.将Label1的AutoSize属性设置为True
D.在FormLoad事件中加入代码Label1.AutoSize=True
A.将Label1的Caption属性值设置为True
B.将Label1的AutoSize属性设置为Fasle
C.将Label1的AutoSize属性设置为True
D.在FormLoad事件中加入代码Label1.AutoSize=True
第2题
A.Font与Bold
B.Font与Italic
C.FontName与FontBold
D.Name与Bold
第3题
Privte Sub Combo1_Click() Call Showltem(Comb01.Label1) End Sub Private Sub Combo2_Click() Call Showltem(ComboLabe12) End Sub Public Sub Showhem(tmpCombo As ComboBox,tmpLabd As Label), 【 】Caption=【 】.Text End Sub
第4题
在表单中创建一个具有三个页的页框,如图所示。表单文件名为FRM05.SCX
要求如下:
(1)表单文件名为Frm05.scx(表单备注文件不能删除),存入考生文件夹。
(2)表单的标题为“我的页框”
(3)页框名为pageframe1,三个页的标题分别为“第一页”、“第二页”、“第三页”
(4)在第一页中有标签LABEL1,显示“欢迎使用VF系统”,字号为15。
(5)在第一页中有一选项按扭组OptionGroup1,有两选项按扭option1和option2,分别显示为“隶书”和“黑体”
(6)单击“隶书”,标签文字显示为隶书;单击“黑体”,标签文字显示为“黑体”。
(7)其它两页无内容。
第5题
第6题
如果存在,则在Label2中给出提示“输入项已在组合框中”。请在【 】、【 】和【 】处将程序补充完整。 Private Sub Combo1【 】(Key Ascii As Integer) If Key Ascii=13 Then For i=0 TO Comb01.ListCount-1 If Combo1.Text=【 】Then LabelCaption=“输入项已在组合框中” Exit Sub End If Next i LabelCaption=“已成功添加输入项” Combo1.【 】Combo1.Text End If End Sub
第9题
第10题
A.10
B.30
C.1030
D.3010