Promotic
WikipediaLinkedInYoutubeTwitterFacebook

Subtype - property of object PmFormItemSepar

Description:
Separator type (appearance).
Syntax:
Subtype As String
Calling:
Set the propert when the item is created:
oFormItem = oForm.CreateItem("separ", "Id", "Title", "Subtype:space;");
Writing the value:
oFormItem.Subtype = "space";
Reading the value:
sSubtype = oFormItem.Subtype;
Values:
line (default) - Horizontal line separator type. Item title (see property Title), if not empty then displayed in line.

For this setup the following properties do not work: TitlePos, BodyHeightIni, BodyHeightMode.

space - Empty space 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 for Web Panels. It is not functional in InternetExplorer8 and lower.

Example:
Creates a separator of the "line" type without any displayed text. Example for JavaScript language:
var oItem = oForm.CreateItem("separ", "", "", "Subtype:line;TitlePos:no;");
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice