method contractRow

void contractRow(box rowBox,bool doTransition);

Argumente

Zurückgegebener Wert

This method contracts the requested row. This is similar to the explorer tree method of collapsing an item. Children of the row are now hidden from view.
var selBox = scene.getBoxById("myListBox");
if (selBox)
{
    var bx = selBox.getBoxAtRow(2);
    if (bx)
    {
        if (bx.getAttribute("customFlag") == "keepShut")
        {
            selBox.contractRow(bx, true);
        }
    }
}