Promotic

BodyHeightMode - property of the PmfObject object

Description:
The way of changing the height of the Body area of the Pmf object.
The Body area of the Pmf object is the area where the item value is displayed. For example for the PmfString object it is the area for entering number.
Syntax:
String BodyHeightMode
Values:
const (default) - The height will be constant and will not by affected by changing the form window size.
resize - The height will be changed by changing the size of the form window.
This is the default value for item: PmfTable, PmfTree and system layouts $root and $main.
This value cannot be set for object: PmfNumber, PmfBool, PmfEnum, PmfSepar("Subtype:line;").
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.
See also:
Example:
JavaScriptSelect and copy to clipboard

var oString = oForm.CreateItem("string", "IdStr1", "Title", "BodyHeightMode:resize;");
var sBodyHeightMode = oString.BodyHeightMode;   // Reading from the property
oString.BodyHeightMode = "resize";   // Writing into the property

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

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