Update cookies preferences
Promotic

Subtype - property of the PmfSepar object

Description:
Separator type (appearance).
Syntax:
String Subtype
Values:
line (default) - Horizontal line separator type. If the item title (see Title property) is not empty, then is displayed in line.
For this setup the following properties do not work: TitlePos, BodyHeightIni, BodyHeightMode.
space - Empty area separator type (one or more empty rows - according to setting BodyHeightMode and BodyHeightIni).
For this setup the following properties do not work: Title, TitlePos.
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.
Example1:
JavaScriptSelect and copy to clipboard

var oSepar = oForm.CreateItem("separ", "IdSep", "Title", "Subtype:space;");
var sSubtype = oSepar.Subtype;   // Reading from the property
oSepar.Subtype = "space";   // Writing into the property
Example2:
Creates a separator of the "line" type without any displayed text.:
JavaScriptSelect and copy to clipboard

var oItem = oForm.CreateItem("separ", "", "", "Subtype:line;TitlePos:no;");

History:
Pm8.03.15: Created
PROMOTIC 9.0.28 SCADA system documentation MICROSYS, spol. s r.o.

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