问题 单项选择题

下列语句中,获得列表框Listl中项目个数的语句是

A.x=List1.ListCount

B.x=ListCount

C.x=List1.ListIndex

D.x=ListIndex

答案

参考答案:A

解析: List控件的ListCount属性返回列表部分项目的个数。

单项选择题
单项选择题