Subtype - property of the PmfSepar object
Description:
Separator type (appearance).
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.
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;");