单选题
VB
2015-06-30
能够将组合框Combol中最后一个数据项删除的语句为( )。
A.Comb01.Removeltem Comb01.ListCount
B.Comb01.Removeltem Comb01.ListCount一1
C.Comb01.RemoveItem Comb01.Listlndex
D.Comb01.Removeltem Comb01.Listlndex-1
参考答案
B
答案解析
组合框的Removeltem方法与隽表框舅l指定项目的方法相同,格式为:Removeltem(索引售),i爿表£的项目索引值从0开始,因此最后一项的索引值为htg一1。