Promotic

ValueHorzAlign - property of the PmfNumber object

Description:
The way of horizontal number alignment.
Syntax:
String ValueHorzAlign
Values:
center - to the center
left (default) - to the left
right - to the right
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.
Example:
JavaScriptSelect and copy to clipboard

var oNumber = oForm.CreateItem("string", "note1", "", "ValueHorzAlign:right;");
var sValueHorzAlign = oNumber.ValueHorzAlign;   // Reading from the property
oNumber.ValueHorzAlign = "right";   // Writing into the property

History:
Pm9.00.06: Created
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r.o.