Update cookies preferences
Promotic

Object PmfLayout

Description:
This object represents one form item of the type: Area for other Pmf objects.
Properties and methods of this object:
CreateItem()Creates a single form subitem in the area defined by parent PmfLayout object
GetItem()Returns Pmf object (i.e. existing form item)
GetItems()Returns an array of Pmf objects.
SubtypeSpecifies whether the nested objects are arranged vertically or horizontally
RemoveItem()Removes Pmf object (i.e. existing form item)
RemoveItems()Removes items of the Pmf object
Properties and methods that are common to all objects of the PmfObject type:
BodyFontFont of the Body area of the Pmf object
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
EnabledEnable/disable editing of values
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
VisibleVisibility of the Pmf object
Note:
- The object can be created by method PmForm.CreateItem("layout", ...).
- This object is functional also in Web panels.


The appearance of this object can be defined by means of the Subtype property.
Example1:
Script in the PmgForm.onFormLoad event creates PmfLayout with one form item in it.
JavaScriptSelect and copy to clipboard

var oForm = pMe.Form;
var Layout = oForm.CreateItem("layout", "Lay1", null, "Subtype:horz;");
var oStr = Layout.CreateItem("string", "id_str");

History:
Pm9.00.00: Created
PROMOTIC 9.0.31 SCADA system documentation MICROSYS, spol. s r.o.

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