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

题目内容 (请给出正确答案)

引用列表框 ListBox1 最后一个数据项应使用代码_________。

A.ListBox1.Items(Listbox1.Items.Count - 1)

B.ListBox1.Items(Listbox1.Items.Count)

C.ListBox1.Items(Count - 1)

D.ListBox1.Items.Count


参考答案和解析
ListBox1.Items[ListBox1.Items.Count-1]
更多 “引用列表框 ListBox1 最后一个数据项应使用代码_________。A.ListBox1.Items(Listbox1.Items.Count - 1)B.ListBox1.Items(Listbox1.Items.Count)C.ListBox1.Items(Count - 1)D.ListBox1.Items.Count” 相关考题
考题 引用列表框(Listl)最后一个数据项应使用的表达式是( )。A.Listl.List(List..ListCount)B.Listl.List(Listl.ListCount-1)C.Listl.List(ListCount)D.Listl.List(ListCount-1)

考题 引用列表框List1被选中项数据应使用( )。A、 List1.listB、 List1.listCountC、 List1.IndexD、 List1.Text

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

考题 假如列表框(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)

考题 使用代码从VB6.0列表框删除所有项目,使用的方法是_____。

考题 在窗体中添加一个列表框(listBox1)和一个命令按钮,并编写如下代码:Private Sub Command1_ Click() Dim Entry, I, Msg Msg = "Choose Ok to add 100 items to your list box." MsgBox Msg for I = 1 To 100 Entry = "Entry" I List1. AddItem Entry Next IEnd Sub程序完成的功能是______。A.本示例使用AddItem方法增加100项给一个列表框B.本示例使用AddItem方法向一个列表框中添加的内容是1~100的列C.本示例使用AddItem方法向一个列表框中添加的内容是1~100的和D.本示例使用AddItem方法增加101项给一个列表框

考题 在窗体中添加一个列表框(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)

考题 在代码中引用一个控件时,应使用控件的()属性。ACaptionBNameCTextDIndex

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

考题 ()方法的功能是向列表框或组合框控件添加一个数据项。A、ShowB、RemoveItemC、HideD、AddItem

考题 对于表单的Load、Activate和Init这三个事件来说,()事件的处理代码中不能引用表单中的对象,()事件最后一个被触发。

考题 设表单form1中有一个单列数据的列表框list1。现要在list1的某个事件过程中引用最后一个列表项,可使用()。A、list1.list(list1.listcount)B、form1.list1.list(list1.listcount)C、thisform.list(thisform.listcount)D、this.list(this.listcount)

考题 假如列表框(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

考题 一个BOM文件,至少应包括3个数据项:即()。A、标识代码B、需求量C、层次码D、预测量

考题 单选题在代码中引用一个窗体控件时,应使用的控件属性是(  )。A CaptionB NameC TextD Index

考题 单选题引用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.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

考题 单选题列表框中被选中的数据项的位置可以通过一个属性获得,这个属性是(  )。A ListB ListIndexC TextD ListCount

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

考题 单选题引用集合中的数据项需要使用()方法。A ClearB RemoveC ContainsD Item

考题 单选题引用列表框的最后一项应使用()。A List1.List(List1.ListCount-1)B List1.List(List1.ListCount)C List1.List(ListCount)D List1.List(ListCount-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]

考题 单选题在代码中引用一个控件时,应使用控件的()属性。A CaptionB NameC TextD Index

考题 多选题一个BOM文件,至少应包括3个数据项:即()。A标识代码B需求量C层次码D预测量