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.
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.
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