method selectRow

void selectRow(int32 index);

Argumente

Zurückgegebener Wert

This method sets the requested row to selected state. The rest of the current selection is ignored if present.
var list = scene.getBoxById("myList");
if (list)
{
    var sel = list.selection;
    if (sel)
    {
        sel.selectRow(0);
    }
}