Subtype - property of the PmfLayout object
Description:
Specifies whether the nested objects are arranged vertically or horizontally.
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 the value
oLayout.Subtype = "horz"; //Writing the value