method getBoxAtRow

box getBoxAtRow(int32 row);


Zurückgegebener Wert

This method locates a box object at the row index provided. If found the box object is returned to the caller. If not, null is returned.
See box object for more details.
var selBox = scene.getBoxById("myListBox");
if (selBox)
    var boxForRow = selBox.getBoxAtRow(2);
    if (boxForRow.tag == "dummyTag")
        Foo(boxForRow); // do some processing on box.