引用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]
第1题:
A、ListBox1.Items(ListBox1.Items.Count)
B、ListBox1.Items(ListBox1.Items.Count-1)
C、ListBox1.Text
D、ListBox1.Items(ListBox1.SelectedIndex)
第2题:
A、Listbox1.Items.Cls
B、ListBox1.Items.Remove(4)
C、ListBox1.Items.Remove(“计算机“)
D、ListBox1.Items.Add(1,“打印机“)
第3题:
A、List1.List(List1.ListCount)
B、List1.List(List1.ListCount-1)
C、List1.List(ListCount)
D、List1.List(ListCount-1)
第4题:
列表框(ListBox)显示(),用户可以从中显示一个或多个项目。
项目列表
略
第5题:
假如列表框(List1)有四个数据项,那么把数据项“China”添加到列表框的最后,应使用()语句。
第6题:
引用ListBox(列表框)最后一个数据项应使用()语句
第7题:
假如列表框(List1)有四个数据项,那么把数据项“China”添加到列表框的最后,应使用语句()。
第8题:
将数据项"China"添加到列表框List1中,成为第一项应使用语句()
第9题:
ListBox1.Items[ListBox1.Items.Count]
ListBox1.Items[ListBox1.SelectedIndex]
ListBox1.Items[ListBox1.Items.Count-1]
ListBox1.Items[ListBox1.SelectedIndex-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-1)
List1.List(List1.ListCount)
List1.List(ListCount)
List1.List(ListCount-1)
第12题:
ListBox1.Items[ListBox1.Items.Count]
ListBox1.Items[ListBox1.SelectedIndex]
ListBox1.Items[ListBox1.Items.Count-1]
ListBox1.Items[ListBox1.SelectedIndex-1]
第13题:
A、ListBox1.Items.Add(“HowareYou“)
B、ListBox1.Items.Insert(“HowareYou“)
C、ListBox1.Items.Add(2,“HowareYou“)
D、ListBox1.Items.Insert(2,“HowareYou“)
第14题:
在窗体中添加一个列表框(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个列表框
第15题:
可通过()属性判断ListBox列表框控件的项目总数目。
AListIndex
BListText
CListcount
D随机数
第16题:
ListBox对象列表框中的内容是通过()属性来进行设置的。
第17题:
向列表框中的最后填加一个新项目,正确的语句是()
第18题:
引用ListBox(列表框)当前被选中的数据项应使用()语句
第19题:
假如列表框(List1)有四个数据项,把数据项“数据库原理”添加到列表框的最后,应使用()语句。
第20题:
列表框(ListBox)用于返回列表框中所有选项的个数,其属性listcount只能在程序代码中调用和设置。
第21题:
List1.AddItem3,China
List1.AddItemChina,List1.List1Count-1
List1.AddItemChina,3
List1.AddItemChina
第22题:
当列表框的RowSourceType为0时,在程序运行中,可以通过AddItem方法添加列表框条目
列表框可以有多个列,即一个条目可包含多个数据项
不能修改列表框中Value属性的值
列表框控件可显示一个数据项列表,用户只能从中选择一个条目
第23题:
List1.AddItemChina,0
List1.AddItemChina,1
List1.AddItemChina,
List1.AddItem1,China
第24题: