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

引用列表框ListBox1最后一个数据项应使用()。

A、ListBox1.Items(ListBox1.Items.Count)

B、ListBox1.Items(ListBox1.Items.Count-1)

C、ListBox1.Text

D、ListBox1.Items(ListBox1.SelectedIndex)


相关考题:

引用列表框(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)有4个数据项,要把最后一个数据项“china”删除的语句是( )。 A. 移去第一项B. 移去最后一项C. 程序无操作D. 程序出错

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

假如列表框(List1)有4个数据项,那么把数据项"China"添加到列表框的最后,应使用的语句是() A、List1.AddItem3,〝China〞B、List1.AddItem〝China〞,List1.ListCount-1C、List1.AddItem〝China〞,3D、List1.AddItem〝China〞,List1.ListCount

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

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

引用列表框的最后一项应使用()。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]

引用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、ShowB、RemoveItemC、HideD、AddItem

设表单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

单选题引用ListBox(列表框)当前被选中的数据项应使用()语句AListBox1.Items[ListBox1.Items.Count]BListBox1.Items[ListBox1.SelectedIndex]CListBox1.Items[ListBox1.Items.Count-1]DListBox1.Items[ListBox1.SelectedIndex-1]

单选题引用ListBox(列表框)最后一个数据项应使用()语句AListBox1.Items[ListBox1.Items.Count]BListBox1.Items[ListBox1.SelectedIndex]CListBox1.Items[ListBox1.Items.Count-1]DListBox1.Items[ListBox1.SelectedIndex-1]

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

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

单选题引用列表框的最后一项应使用()。AList1.List(List1.ListCount-1)BList1.List(List1.ListCount)CList1.List(ListCount)DList1.List(ListCount-1)

单选题假如列表框(List1)有四个数据项,把数据项“数据库原理”添加到列表框的最后,应使用()语句。AList1.AddItem“数据库原理”,List1.ListCountBList1.AddItem“数据库原理”,List1.ListCount-1CList1.AddItem3,“数据库原理”DList1.AddItem“数据库原理”,3

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

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

单选题引用列表框List1最后一个数据项应使用()。AList1.List(List1.ListCount)BList1.List(List1.ListCount-1)CList1.List(ListCount)DList1.List(ListCount-1)

单选题设表单form1中有一个单列数据的列表框list1。现要在list1的某个事件过程中引用最后一个列表项,可使用()。Alist1.list(list1.listcount)Bform1.list1.list(list1.listcount)Cthisform.list(thisform.listcount)Dthis.list(this.listcount)

单选题引用集合中的数据项需要使用()方法。AClearBRemoveCContainsDItem