ListBox-SelectItem

Function Name dcl-ListBox-SelectItem
Syntax   (dcl-ListBox-SelectItem <CONTROL> ItemIndex [as Long] {Select [as Boolean]})
Return Type Boolean (T if successful; otherwise NIL)
Applies To List Box

此方法在ItemIndex中选择或取消选择项目。 如果选择是T,则选择项目; 否则取消选择。 此方法不适用于单选列表(请参阅SelectionStyle)。