Promotic

SysLayoutPos - property of the PmForm object

Description:
Position of the system area $sys (if this area is to be displayed).
See Main areas for placing the Pmf objects.
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.
See also:
- PmForm.SysButtons (property)
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");

History:
Pm9.00.05: Created
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r.o.