box box object that is to be used to lookup its row index.
Zurückgegebener Wert
int32
This method returns a row index for the box provided by the caller. If the row is
not found in this select box, then -1 is returned.
var selBox = scene.getBoxById("myListBox");
if (selBox)
{
var theBox = scene.getBoxById("integratedBox");
if (theBox)
{
var rowOfBox = selBox.getRowOfBox(theBox);
if (rowOfBox != -1)
{
// process data here
}
}
}