BodyWidthIni - property of the PmfObject object
Initial width of the Body
area of the Pmf
object, i.e. the initial width after the form window opens.
area of Pmf
object is the area where the item value is displayed. For example for the PmfString
object it is the area for entering number.
The value je in HTML
equals to the current font size.
For example if the document font size is 12pt
equals to 12pt
(0.5em = 6pt, 2em = 24pt).
Property access for read and write
The default value is for item: PmfString
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
var oString = oForm.CreateItem("string", "IdStr1", "Title", "BodyWidthIni:15;");
var nBodyWidthIni = oString.BodyWidthIni;
// Reading from the property
oString.BodyWidthIni = 15;
// Writing into the property