首页
外语
计算机
考研
公务员
职业资格
财经
工程
司法
医学
专升本
自考
实用职业技能
登录
计算机
如果想让名为MenuItem1的菜单项在运行时显示为“[E]dit”,则该菜单项的标题为 ( )。
如果想让名为MenuItem1的菜单项在运行时显示为“[E]dit”,则该菜单项的标题为 ( )。
admin
2009-02-13
76
问题
如果想让名为MenuItem1的菜单项在运行时显示为“[E]dit”,则该菜单项的标题为 ( )。
选项
A、MenuItem1.Caption="[\E]dit"
B、MenuItem1.Caption="[&E]dit"
C、MenuItem1.Caption="[>E]dit"
D、MenuItem1.Caption="[>E]dit"
答案
2
解析
菜单项有一个属性Caption,用来设置菜单显示的标题,如果希望在菜单中显示带下划线的字符,可以在该字符的前面加上“&”字符。
转载请注明原文地址:https://kaotiyun.com/show/yI1p777K
本试题收录于:
二级VB题库NCRE全国计算机二级分类
0
二级VB
NCRE全国计算机二级
相关试题推荐
给出下列的不完整的类代码,则下列的()语句可以加到横线处。classPerson{Stringname,department;intagepublicPerson(Stringn){name=n;}
给出下列的程序代码片段,下列的()选项是不正确的。①publicvoidcreate(){②Vectormy;③my=newVector();④}
Java程序的执行过程中用到一套JDK工具,其中javaprof.exe是指()。
已知如下代码:public class Testlong a[]=new long[10]publicstaticvoidmain(Stringargs[]{System.out.println(a[6];}
关于以下程序代码的说明正确的是()(1)classHasStatic{(2)privatestaticintx=100:(3)publicstaticvoidmain(Stringargs[]{
在一个应用程序中有如下定义:inta[]={1,2,3,4,5,6,7,8,9,10};,为了打印输出数组a的最后一个元素,下面正确的代码是()。
Java中的线程由______、代码、数据等三部分组成。
若a的值为3时,下列程序段被执行后,c的值是()intc=1;if(a>0)if(a>3)c=2;elsec=3;elsec=4;
下列代码的执行结果是()。publicclassTest{publicstaticvoidmain(Stringargs[ ]){floatt=9.0f;intq=5;
随机试题
(2014年)在使用内部报酬率法进行固定资产投资决策时,方案可行的标准是内部报酬率要()。
早期食管癌包括
A/山莨菪碱B/毛果芸香碱C/新斯的明D/有机磷酸酯类E/碘解磷定属于易逆性抗胆碱酯酶药的是
治疗再生障碍性贫血热入营血证,应首选
下列关于《中华人民共和国防沙治沙法》的说法,错误的是()。
“J—2字”签证发给()。
Youwillheararadiointerviewaboutthesportswearindustry.Foreachquestion23-30,markoneletterA,BorCforthecorrec
Throughouthistorymanhaschangedhisphysicalenvironmentinordertoimprovehiswayoflife.Withthetoolsoftechnolog
Whileattendingahighereducationsystemoffersmanypositives,italsoofferscertainnegatives.Onenegativeisthefacthigh
A--TheroleofthechiefnegotiatorB--ControllingnegotiationsC--CommittingtotheresultsD--
最新回复
(
0
)