Object PmfLayout

This object represents one form item of the type: "Area for other Pmf objects".
Properties and methods of this object:
CreateItemCreates a single form subitem in the area defined by parent PmfLayout object
GetItemReturns Pmf object (i.e. existing form item)
GetItemsReturns an array of Pmf objects.
SubtypeSpecifies whether the nested objects are arranged vertically or horizontally
RemoveItemRemoves Pmf object (i.e. existing form item)
RemoveItemsRemoves items of the Pmf object.
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
EnabledEnable/disable editing of values
IdPmf object identifier
PrivateDataPrivate value of the object
TitleDisplayed name 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
- 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.
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");

Pm9.00.00: Created
PROMOTIC 9.0.21 SCADA system documentation - MICROSYS, spol. s r.o.

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