首页
外语
计算机
考研
公务员
职业资格
财经
工程
司法
医学
专升本
自考
实用职业技能
登录
计算机
下列( )事件过程可以将打开文件对话框的标题改变为“new Caption”。
下列( )事件过程可以将打开文件对话框的标题改变为“new Caption”。
admin
2013-04-11
27
问题
下列( )事件过程可以将打开文件对话框的标题改变为“new Caption”。
选项
A、Private Sub Command1_CliCk() CommonDialog1.DialogTitle="new Caption" CommonDialog1.ShowFont End Sub
B、Private Sub Command1_Click() CommonDialog1.DialogTitle="new Caption" CommonDialog1.ShowOpen End Sub
C、Private Sub Command1_Click() CommonDialog1.DialogTitle="new Caption" CommonDialog1.Show Help End Sub
D、Private Sub Command1_Click() CommonDialog1.DialogTitle="new Caption" CommonDialog1.ShowColor End Sub
答案
B
解析
可以通过Dialog Title属性设置打开文件对话框的标题,使用ShowOpen方法设置通用对话框的类型为打开文件对话框。DialogTile属性指定对话框中标题栏的名称。“打开”对话框默认的标题是“打开”;“另存为”对话框默认的标题是“另存为”。
转载请注明原文地址:https://kaotiyun.com/show/2zQp777K
本试题收录于:
二级VB题库NCRE全国计算机二级分类
0
二级VB
NCRE全国计算机二级
相关试题推荐
如果在菜单标题的某个字母前面输入一个字符“【】”,就会使该字母成为热键字母;如果建立菜单时,在标题文本框中输入一个字符“【】”,那么菜单显示时就会形成一行分隔符。
控件数组的名字由Name属性指定,而数组中的每个元素由【】属性指定。
以下程序运行后,单击命令按钮,窗体显示的结果是______。PrivateFunctionp1(xAsInteger,yAsIntegel,zAsInteger)p1=2*x+y+3*zEndFunctio
窗体的MouseDown事件过程如下:Form_MouseDown(ButtonAsInteger,ShiftAsInteger,XAsSingle,YAsSingle)有4个参数,关于这些参数,正确的描述是______。
软件需求说明书是需求分析阶段的最后成果,以下______是其应包括的内容。Ⅰ、数据描述Ⅱ、功能描述Ⅲ、性能描述Ⅳ、文件结构
假定建立了一个工程,该工程包括两个窗体,其名称(Name属性)分别为Form1和Form2,启动窗体为Form1。在Form1上画一个命令按钮Command1,程序运行后,要求当单击该命令按钮时,Form1窗体消失,显示窗体Form2,请将下面的程序补充
执行以下程序段后,变量c$的值为______。a$="VisualBasicProgramming"b$="Quick"c$=b$&UCase(Mid$(a$,7,6))&Right$(a$,12)
结构化程序设计主要强调的是______。
以下语句用于打开一个顺序文件Open"C:\MyFile.txt"ForOutPut但该语句的一个重要错误是没有______。
随机试题
【B1】【B7】
患儿女,13岁,因发现颈部包块3年就诊。查体:颈前近舌骨处有一个1.5cm×2.0cm大小包块,质软,无触痛,活动度可。该患者的主要治疗方案是
上腹部压痛,应首先考虑的是
患者,男性,63岁。因下肢不适6个月来院就诊,诊断为下肢静脉曲张,护士最有可能观察到的临床表现是
在处于江湖,海潮等洪水威胁的城市中进行选场,下列的防洪标准,哪一个是错误的?
下列各项中,不属于研究试验费的是()。
2015年是抗日战争胜利暨世界反法西斯战争胜利__________周年。(北京师范大学2016)
DrivingtoLithfield,thefreezingrainmadetheroadslipperyandhazardous.
WhyAreSomePeopleLeft-handed?Whyisamere4%ofthepopulationleft-handed?Mostauthoritiesagree,tothereliefofma
Designingforsustainability:whatarethechallengesbehindgreenmaterials?[A]LearningtosurfinCalifornia’sicybreakers,
最新回复
(
0
)