Current Selection

Friendly Name Current Selection
API Name CurrentSelection
Type Long
Restrictions Must be non-negative and less than item count
Get Function   (dcl-Control-GetCurrentSelection <CONTROL>)
Set Function   (dcl-Control-SetCurrentSelection <CONTROL> NewValue [as Long])
Applies To Block List, List View, Option List

This property is the index of the currently selected item.