首页
外语
计算机
考研
公务员
职业资格
财经
工程
司法
医学
专升本
自考
实用职业技能
登录
计算机
为了将"联想电脑"作为数据项添加到列表框List1的最前面,可以使用语句( )。
为了将"联想电脑"作为数据项添加到列表框List1的最前面,可以使用语句( )。
admin
2018-12-20
19
问题
为了将"联想电脑"作为数据项添加到列表框List1的最前面,可以使用语句( )。
选项
A、List1.AddItem "联想电脑",0
B、List1.AddItem "联想电脑",1
C、List1.AddItem 0,"联想电脑"
D、List1.AddItem 1,"联想电脑"
答案
A
解析
为列表框控件添加数据的方法是AddItem,List控件的AddItem方法的语法是:AddItem(String,index)。其中index是列表框中列表项的索引值 ,第一项的索引值为0。
转载请注明原文地址:https://kaotiyun.com/show/CuFp777K
本试题收录于:
二级VB题库NCRE全国计算机二级分类
0
二级VB
NCRE全国计算机二级
相关试题推荐
为了使窗体左上角不显示控制框,需设置为False的属性是( )。
假定有以下函数过程:FunctionFun(SAsString)AsString Dims1AsString Fori=1ToLen(S) s1=LCase(Mid(S,i,1))+s1 Nexti
设窗体上有1个名称为List1的列表框,程序运行时,如果选中了第3个列表项(最上面的列表项为第0个列表项),则下面不成立的是
在设计窗体时双击窗体的任何地方,可以打开的窗口是( )。
下面正确使用动态数组的是( )。
窗体上有1个Timer1计时器,1个Shape1形状控件,还有下面程序代码:DimflagAsBooleanPrivateSubForm_Load()flag=TrueTimer1.En
结构化程序设计中,下面对goto语句使用描述正确的是
若在窗体模块的声明部分声明了如下自定义类型和数组:PrivateTyperecCodeAsIntegerCaptionAsStringEndTypeDimarr(5)Asrec则下面的输出语句中正确的是( )。
对于命令按钮,下列说法中正确的是()。
随机试题
肝性脑病患者使用精氨酸的目的是()
关于双侧肾积水,一侧积水严重、一侧较轻的治疗。下列哪项正确
A.外用药品B.麻醉药品C.第二类精神药品D.医疗用毒性药专有标识为红色方框,底色内标注白色字样的是
城市生活垃圾处理应按照( )的原则,加强对垃圾产生的全过程管理,从源头减少垃圾的产生。对已经产生的垃圾,要积极进行无害化处理和回收.利用,防止污染环境。
下列账户中,期末结转后该账户一般应无余额的是()。
反映商业银行某一时点上资产负债业务的财务报表是()。
员工培训规划的(),是指规划必须体现可靠性、针对性、相关性和高效性等。
《学记》中提出的“杂施而不孙,则坏乱而不修”,所体现的教学原则是()。
IEEE(美国电气电子工程师协会)给出的实时系统定义是:那些正确性不仅取决于计算的逻辑结果,也取决于产生结果所花费的时间的系统。因此,实时系统对外界的响应是否正确不仅取决于【75】正确性,而且取决于【76】正确性。
ThenewideaabouteducationintheU.S.isthat______.Whichofthefollowingstatementistree?
最新回复
(
0
)