A、ListBox1.Items(ListBox1.Items.Count)
B、ListBox1.Items(ListBox1.Items.Count-1)
C、ListBox1.Text
D、ListBox1.Items(ListBox1.SelectedIndex)
第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~100
C.本程序使用Addltem方法向一个列表框中添加的内容是1~100的和
D.本程序使用Addhem方法增加100个列表框
第2题:
A、List1.AddItem3,〝China〞
B、List1.AddItem〝China〞,List1.ListCount-1C、List1.AddItem〝China〞,3
D、List1.AddItem〝China〞,List1.ListCount
第3题:
引用列表框List1最后一个数据项应使用()。
第4题:
引用ListBox(列表框)最后一个数据项应使用()语句
第5题:
()方法的功能是向列表框或组合框控件添加一个数据项。
第6题:
假如列表框(List1)有四个数据项,那么把数据项“China”添加到列表框的最后,应使用语句()。
第7题:
ListBox1.Items[ListBox1.Items.Count]
ListBox1.Items[ListBox1.SelectedIndex]
ListBox1.Items[ListBox1.Items.Count-1]
ListBox1.Items[ListBox1.SelectedIndex-1]
第8题:
List
ListIndex
Text
ListCount
第9题:
List1.List(List1.ListCount-1)
List1.List(List1.ListCount)
List1.List(ListCount)
List1.List(ListCount-1)
第10题:
List1.AddItem 3, China
List1.AddItem China, List1.List1Count-1
List1.AddItem China, 3
List1.AddItem China, List1.List1Count
第11题:
List1.List(List1.ListCount)
List1.List(List1.ListCount-1)
List1.List(ListCount)
List1.List(ListCount-1)
第12题:
Clear
Remove
Contains
Item
第13题:
A、List1.List(List1.ListCount)
B、List1.List(List1.ListCount-1)
C、List1.List(ListCount)
D、List1.List(ListCount-1)
第14题:
假如列表框(List1)有四个数据项,那么把数据项“China”添加到列表框的最后,应使用()语句。
第15题:
引用列表框的最后一项应使用()。
第16题:
引用ListBox(列表框)当前被选中的数据项应使用()语句
第17题:
设表单form1中有一个单列数据的列表框list1。现要在list1的某个事件过程中引用最后一个列表项,可使用()。
第18题:
假如列表框(List1)有四个数据项,把数据项“数据库原理”添加到列表框的最后,应使用()语句。
第19题:
ListBox1.Items[ListBox1.Items.Count]
ListBox1.Items[ListBox1.SelectedIndex]
ListBox1.Items[ListBox1.Items.Count-1]
ListBox1.Items[ListBox1.SelectedIndex-1]
第20题:
当列表框的RowSourceType为0时,在程序运行中,可以通过AddItem方法添加列表框条目
列表框可以有多个列,即一个条目可包含多个数据项
不能修改列表框中Value属性的值
列表框控件可显示一个数据项列表,用户只能从中选择一个条目
第21题:
List1.AddItem“数据库原理”,List1.ListCount
List1.AddItem“数据库原理”,List1.ListCount-1
List1.AddItem3,“数据库原理”
List1.AddItem“数据库原理”,3
第22题:
List1.AddItem3,China
List1.AddItemChina,List1.List1Count-1
List1.AddItemChina,3
List1.AddItemChina
第23题:
list1.list(list1.listcount)
form1.list1.list(list1.listcount)
thisform.list(thisform.listcount)
this.list(this.listcount)