Promotic
WikipediaLinkedInYoutubeTwitterFacebook

BodyWidthIni - property of object PmfObject

Description:
Initial width of Pmf object body, i.e. the initial width after the form window opens.

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

 
The value is in HTML units "em". 1em equals to the current font size, e.g. of the document font is 12pt then 1em equals to 12pt (0.5em = 6pt, 2em = 24pt).
Syntax:
Long BodyWidthIni
Calling:
Setting the propert when the object is created:
oString = oForm.CreateItem("string", "Id", "Title", "BodyWidthIni:15;");
Writing the value:
oString.BodyWidthIni = 15;
Reading the value:
val = oString.BodyWidthIni;
Note:
Property access for read and write. Preset value for item: PmfString=20, PmfNumber=8, PmfButton=7, PmfTable=20.
 
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.

 
This property is not functional for object: PmfBool.

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