value = listview.selected(strItem, strSeparator);
listview.selected(strItem, strSeparator) = value;
Returns true/false if the specified item is selected or not. Set to true to select the item or to false to remove selection. You can set or clear the selection on all items if you pass -1 as the item index.
// Test get/set selected
listview.selected("new|item") = true;
if (!listview.selected("new|item"))
Env.LogError("Could not set current selection");
listview Overview | listview.selectedItems