rowBox This is the box object that is the row to be contracted.
doTransition Determines if a transition is to be displayed when the contraction of the row
happens.
Zurückgegebener Wert
None
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);
}
}
}