ListView-GetCurSel

Function Name dcl-ListView-GetCurSel
Syntax   (dcl-ListView-GetCurSel <CONTROL>)
Return Type Long
Applies To List View

This method returns the index (zero based) of the item currently selected in the list, or -1 if nothing is selected.