Promotic

Object PmfSepar

Description:
This object represents one form item of the type:
Properties and methods of this object:
SubtypeSeparator type (appearance)
Properties and methods that are common to all objects of the PmfObject type:
BodyHeightIniInitial height of the Body area
BodyHeightModeThe way of changing the Body area height
BodyWidthIniInitial width of the Body area
BodyWidthModeThe way of changing the Body area width
FormReturns PmForm object
IdPmf object identifier
ParentReturns reference to the parent Pmf object
PrivateDataPrivate value of the object
TitleDisplayed name of the Pmf object
TitleFontFont of the Title area of the Pmf object
TitlePosPosition of the Title area of the Pmf object
TypePmf object type
VisibleReturns or sets the visibility/invisibility of Pmf object
Note:
- The object can be created by method PmForm.CreateItem("separ", ...).
- This object is functional also in Web panels.


The separator appearance can be defined by means of the Subtype property. The default shape is a horizontal line and if the name is defined (in the sTitle parameter), then this text is displayed inside the line.
Example1:
Script creates one form item. It is presumed that the oForm object already exists.
JavaScriptSelect and copy to clipboard

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

History:
Pm8.03.09: Created
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

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