This method will add a child box to this box at the given child index. The box can
be inserted with one of the following types:
- default - Makes the box a direct child of this box.
- part - Makes the box a part of this box. (This box will be the boxes
parent gadget.)
- descendantPart - Specifies that the new box will have the same gadget
parent as this box.
var cont = scene.getBoxById("theBox");
if (cont)
{
var bx = scene.createBox("customTag");
// ... setup tab attributes here ...
cont.insertChildAt(bx, 3);
}