SysLayoutPos - property of the PmForm object
Syntax:
String SysLayoutPos
Values:
right (default) - To the right of the basic area (from
$main).
bottom - Below the basic area.
Note:
Property access
for read and write.
It is possible to write into this property only if the
PmForm window has not been opened yet.
This property is also functional in
Web panels.
Example:
Creating user defined buttons located below the basic area.
JavaScriptSelect and copy to clipboard
oForm.SysLayoutPos = "bottom";
var oBtnLay = oForm.GetItem("$sys", 1);
var oBtn = oBtnLay.CreateItem("button", "buttGetData", null, "Value:Get data");
oBtn = oBtnLay.CreateItem("button", "buttInsertRow", null, "Value:Insert row");
oBtn = oBtnLay.CreateItem("button", "buttDeleteRow", null, "Value:Delete row");