method getFirstRowBox

box getFirstRowBox();

Argumente

Zurückgegebener Wert

This method returns the box associated with the first row in the select box. If this select box does not have a "rows" section, then null is returned.
var selBox = scene.getBoxById("myListBox");
if (selBox)
{
    var box = selBox.getFirstRowBox();
    while(box)
    {
        shell.print("Box ID: " + box.id);
        Foo(box); // do processing on box.
        box = getNextRowBox(box);
    }
}