| Function Name | dcl-ListView-SetCurSel | 
|---|---|
| Syntax | (dcl-ListView-SetCurSel 
            <CONTROL>
            ItemIndex [as
            Long]) | 
          
| Return Type | Boolean (T if successful; otherwise NIL) | 
| Applies To | List View | 
This method sets the current selection. If ItemIndex is -1, all items are unselected.