网友您好, 请在下方输入框内输入要搜索的题目:

题目内容 (请给出正确答案)
单选题
引用ListBox(列表框)最后一个数据项应使用()语句
A

ListBox1.Items[ListBox1.Items.Count]

B

ListBox1.Items[ListBox1.SelectedIndex]

C

ListBox1.Items[ListBox1.Items.Count-1]

D

ListBox1.Items[ListBox1.SelectedIndex-1]


参考答案

参考解析
解析: 暂无解析
更多 “单选题引用ListBox(列表框)最后一个数据项应使用()语句A ListBox1.Items[ListBox1.Items.Count]B ListBox1.Items[ListBox1.SelectedIndex]C ListBox1.Items[ListBox1.Items.Count-1]D ListBox1.Items[ListBox1.SelectedIndex-1]” 相关考题
考题 引用列表框(Listl)最后一个数据项应使用的表达式是( )。A.Listl.List(List..ListCount)B.Listl.List(Listl.ListCount-1)C.Listl.List(ListCount)D.Listl.List(ListCount-1)

考题 引用列表框(List1) 最后一个数据项应使用A.List1.List(List1.ListCount)B.List1.List(List.ListCount-1)C.Lisl1.List(ListConut)D.List1.List(ListCount-1)

考题 下列关于Web服务器端ListBox控件的说法不正确的是( )。A.ListBox控件显示为列表框B.ListBox控件只能实现单选C.ListBox控件的选项中可以有默认选项D.ListBox控件可以设置列表的显示高度

考题 假如列表框(List1)有4个数据项,要把最后一个数据项“china”删除的语句是( )。 A. 移去第一项B. 移去最后一项C. 程序无操作D. 程序出错

考题 引用列表框ListBox1最后一个数据项应使用()。 A、ListBox1.Items(ListBox1.Items.Count)B、ListBox1.Items(ListBox1.Items.Count-1)C、ListBox1.TextD、ListBox1.Items(ListBox1.SelectedIndex)

考题 向列表框中的最后填加一个新项目,正确的语句是()。 A、ListBox1.Items.Add(“HowareYou“)B、ListBox1.Items.Insert(“HowareYou“)C、ListBox1.Items.Add(2,“HowareYou“)D、ListBox1.Items.Insert(2,“HowareYou“)

考题 在下面对列表框(ListBox1)的操作中,正确的语句是()。 A、Listbox1.Items.ClsB、ListBox1.Items.Remove(4)C、ListBox1.Items.Remove(“计算机“)D、ListBox1.Items.Add(1,“打印机“)

考题 在窗体中添加一个列表框(ListBox1)和一个命令按钮,并编写如下代码: Private Sub Commandl_Click() Dim a, i, msg msg="Choose OK to add 100 items to your listbox." MsgBox msg For i=l To 100 a="a:" i ListAddltem a Next i End Sub 程序完成的功能是 ( )A.本程序使用Addltem方法增加100项给一个列表框B.本程序使用Addltem方法向一个列表框中添加100项,其内容是数字1~100C.本程序使用Addltem方法向一个列表框中添加的内容是1~100的和D.本程序使用Addhem方法增加100个列表框

考题 引用列表框(List1)最后一个数据项应使用的语句是()。 A、List1.List(List1.ListCount)B、List1.List(List1.ListCount-1)C、List1.List(ListCount)D、List1.List(ListCount-1)

考题 可通过()属性判断ListBox列表框控件的项目总数目。AListIndexBListTextCListcountD随机数

考题 列表框(ListBox)显示(),用户可以从中显示一个或多个项目。

考题 ListBox对象列表框中的内容是通过()属性来进行设置的。

考题 假如列表框(List1)有四个数据项,那么把数据项“China”添加到列表框的最后,应使用()语句。A、List1.AddItem3,"China"B、List1.AddItem"China",List1.List1Count-1C、List1.AddItem"China",3D、List1.AddItem"China"

考题 向列表框中的最后填加一个新项目,正确的语句是()A、ListBox1.Items.Add ("How are You")B、ListBox1.Items.Insert ("How are You")C、ListBox1.Items.Add (2, "How are You")D、ListBox1.Items.Insert (2, "How are You")

考题 引用ListBox(列表框)最后一个数据项应使用()语句A、ListBox1.Items[ListBox1.Items.Count]B、ListBox1.Items[ListBox1.SelectedIndex]C、ListBox1.Items[ListBox1.Items.Count-1]D、ListBox1.Items[ListBox1.SelectedIndex-1]

考题 引用ListBox(列表框)当前被选中的数据项应使用()语句A、ListBox1.Items[ListBox1.Items.Count]B、ListBox1.Items[ListBox1.SelectedIndex]C、ListBox1.Items[ListBox1.Items.Count-1]D、ListBox1.Items[ListBox1.SelectedIndex-1]

考题 假如列表框(List1)有四个数据项,那么把数据项“China”添加到列表框的最后,应使用语句()。A、List1.AddItem 3, "China"B、List1.AddItem "China", List1.List1Count-1C、List1.AddItem "China", 3D、List1.AddItem "China", List1.List1Count

考题 假如列表框(List1)有四个数据项,把数据项“数据库原理”添加到列表框的最后,应使用()语句。A、List1.AddItem“数据库原理”,List1.ListCountB、List1.AddItem“数据库原理”,List1.ListCount-1C、List1.AddItem3,“数据库原理”D、List1.AddItem“数据库原理”,3

考题 将数据项"China"添加到列表框List1中,成为第一项应使用语句()A、List1.AddItem"China",0B、List1.AddItem"China",1C、List1.AddItem0,"China"D、List1.AddItem1,"China"

考题 列表框(ListBox)用于返回列表框中所有选项的个数,其属性listcount只能在程序代码中调用和设置。

考题 单选题假如列表框(List1)有四个数据项,那么把数据项“China”添加到列表框的最后,应使用()语句。A List1.AddItem3,ChinaB List1.AddItemChina,List1.List1Count-1C List1.AddItemChina,3D List1.AddItemChina

考题 单选题假如列表框(List1)有四个数据项,那么把数据项“China”添加到列表框的最后,应使用语句()。A List1.AddItem 3, ChinaB List1.AddItem China, List1.List1Count-1C List1.AddItem China, 3D List1.AddItem China, List1.List1Count

考题 单选题下列关于列表控件(ListBox)的说法,错误的是(  )。A 当列表框的RowSourceType为0时,在程序运行中,可以通过AddItem方法添加列表框条目B 列表框可以有多个列,即一个条目可包含多个数据项C 不能修改列表框中Value属性的值D 列表框控件可显示一个数据项列表,用户只能从中选择一个条目

考题 单选题引用列表框的最后一项应使用()。A List1.List(List1.ListCount-1)B List1.List(List1.ListCount)C List1.List(ListCount)D List1.List(ListCount-1)

考题 单选题将数据项“China”添加到列表框List1中成为第一项,应使用的语句是()。A List1.AddItemChina,0B List1.AddItemChina,1C List1.AddItemChina,D List1.AddItem1,China

考题 单选题引用ListBox(列表框)当前被选中的数据项应使用()语句A ListBox1.Items[ListBox1.Items.Count]B ListBox1.Items[ListBox1.SelectedIndex]C ListBox1.Items[ListBox1.Items.Count-1]D ListBox1.Items[ListBox1.SelectedIndex-1]

考题 填空题列表框(ListBox)显示(),用户可以从中显示一个或多个项目。