Promotic
WikipediaLinkedInYoutubeTwitterFacebook

BodyWidthMode - property of object PmfObject

Description:
Changing the width 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 BodyWidthMode
Calling:
Setting the propert when the object is created:
oString = oForm.CreateItem("string", "Id", "Title", "BodyWidthMode:resize;");
Writing the value:
oString.BodyWidthMode = "resize";
Reading the value:
val = oString.BodyWidthMode;
Values:
const - The width will be constant and will not by affected by changing the form window size.

This is a preset value for item: PmfNumber, PmfBool, PmfEnum, PmfButton, PmfTable, PmfSepar, PmfLayout.

resize - The width will be changed by changing the size of form window.

This is a preset value for item: PmfString, PmfTable. and system layouts $root and $main

This value cannot be set for object: PmfBool.

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