ListBox1.Items[ListBox1.Items.Count]
ListBox1.Items[ListBox1.SelectedIndex]
ListBox1.Items[ListBox1.Items.Count-1]
ListBox1.Items[ListBox1.SelectedIndex-1]
第1题:
引用列表框List1被选中项数据应使用( )。
A、 List1.list
B、 List1.listCount
C、 List1.Index
D、 List1.Text
第2题:
引用列表框(List1) 最后一个数据项应使用
A.List1.List(List1.ListCount)
B.List1.List(List.ListCount-1)
C.Lisl1.List(ListConut)
D.List1.List(ListCount-1)
第3题:
要获得文件列表框中当前被选中的文件的文件名,则应使用哪个属性
A.Dir
B.Path
C.Drive
D.FileName
第4题:
A、Listbox1.Items.Cls
B、ListBox1.Items.Remove(4)
C、ListBox1.Items.Remove(“计算机“)
D、ListBox1.Items.Add(1,“打印机“)
第5题:
A、ListBox1.Items(ListBox1.Items.Count)
B、ListBox1.Items(ListBox1.Items.Count-1)
C、ListBox1.Text
D、ListBox1.Items(ListBox1.SelectedIndex)
第6题:
要获得文件列表框中当前被选中的文件的文件名,则应使用( )属性
A.Dir
B.Path
C.Drive
D.FileName
第7题:
引用列表框(List1)最后一个数据项应使用()。
A、List1.List(Listl1.ListCount)
B、List1.List(Listl.ListCount-1)
C、List1.List(ListCount)
D、Listl.List(ListCounr-1)
第8题:
引用列表框(Listl)最后一个数据项应使用的表达式是( )。
A.Listl.List(List..ListCount)
B.Listl.List(Listl.ListCount-1)
C.Listl.List(ListCount)
D.Listl.List(ListCount-1)
第9题:
A、ListBox1.Items.Add(“HowareYou“)
B、ListBox1.Items.Insert(“HowareYou“)
C、ListBox1.Items.Add(2,“HowareYou“)
D、ListBox1.Items.Insert(2,“HowareYou“)
第10题:
目录列表框中的( )属性用来设置和返回目录列表框中当前选中的目录。
A.Drive
B.Path
C.Name
D.Pattern