SysLayoutPos - property of the PmForm object
- To the right of the basic area (from $main
bottom - Below the basic area.
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.
Creating user defined buttons located below the basic area.
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");