property firstSelectedRow

(r/o) int32 firstSelectedRow;

Typ

Zugriff

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;
        }
    }
}