Promotic
WikipediaLinkedInYoutubeTwitterFacebook

BodyHeightMode - property of object PmfObject

Description:
Changing the height of Pmf object body height.

The body of Pmf object is the area where the item value is displayed. For example for PmfString is the area for text input.

Syntax:
String BodyHeightMode
Calling:
Setting the propert when the object is created:
oString = oForm.CreateItem("string", "Id", "Title", "BodyHeightMode:resize;");
Writing the value:
oString.BodyHeightMode = "resize";
Reading the value:
val = oString.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 form window.

This is a preset value for item: PmfTable 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.


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

Send page remarkContact responsible person
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice