Promotic

Subtype - property of the PmfLayout object

Description:
Specifies whether the nested objects are arranged vertically or horizontally.
Syntax:
String Subtype
Values:
vert (default) - Pmf objects will be arranged vertically one uder the other.
horz - Pmf objects will be arranged horizontally side by side.
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:
Creates:
JavaScriptSelect and copy to clipboard

var oLayout = oForm.CreateItem("layout", "Lay1", null, "Subtype:horz;");
var sSubtype = oLayout.Subtype;   // Reading from the property
oLayout.Subtype = "horz";   // Writing into the property

History:
Pm9.00.00: Created
PROMOTIC 9.0.18 SCADA system documentation - MICROSYS, spol. s r.o.

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