【正确答案】
1、{{*HTML*}}0
Listl.ListIndex
Listl.ListCount
【答案解析】[解析] 本题考查列表框的属性,这也是历年考试热点。ListIndex属性用来确定已被选中表项的位置,如果表项没有被选中,其值为-1,故本处填0。表示当某表项被选中。
由于ListIndex属性用来确定已被选中表项的位置,故第10空应填Listl.ListIndex。RemoveItem方法表示移除某个表项,Listl.ListIndex一个被选中的表项,符合题意。ListCount是列表框扣个很重要的属性,它返回列表框中表项的数量。本处填Listl.ListCount,并将其值赋给Label1的Caption属性。符合题意。