property top

(r/w) int32 top;

Typ

Zugriff

This property sets and gets the coordinate of the top (y direction) of the box. This coordinate is relative to the parent box.
function SetBoxPlacement()
{
    var bx = scene.getBoxById("myBox");
    if (bx)
    {
        bx.left = "20";
        bx.top = "20";
        bx.bottom = "200";
        bx.right  = "320";
    }
}