property rowCount

(r/o) int32 rowCount;

Typ

Zugriff

This property returns the number of currently selected rows.
var list = scene.getBoxById("myList");
if (list)
{
    var sel = list.selection;
    if (sel)
    {
        shell.print("Number of rows currently selected is: " + sel.rowCount);
    }
}