This property returns the index of the first row that is selected. Each time this
is used the iteration sequence is reset so that nextSelectedRow return
var list = scene.getBoxById("myList");
if (list)
{
var sel = list.selection;
if (sel)
{
var selRow = sel.firstSelectedRow;
while (selRow != -1)
{
Foo(selRow); // process row
selRow = sel.nextSelectedRow;
}
}
}