BodyWidthMode - property of object PmfObject

Changing the width of form item body height.

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

BodyWidthMode As String
Setting the propert when the item is created:
oString = oForm.CreateItem("string", "Id", "Title", "BodyWidthMode:resize;");
Writing the value:
oString.BodyWidthMode = "resize";
Reading the value:
val = oString.BodyWidthMode;
const - The width will be constant and will not by affected by changing the form window size.

This is a preset value for item: PmfInt, PmfFloat, PmfBool, PmfEnum, PmfButton.

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

This is a preset value for item: PmfString, PmfSepar.

This value cannot be set for item: PmfBool.

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 for Web panels. It is not functional in InternetExplorer8 and lower.

PROMOTIC 8.3.30 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