ValueHorzAlign - property of the PmfString object
Description:
The way of horizontal text alignment.
Syntax:
String ValueHorzAlign
Values:
left (default) - to the left
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 oString = oForm.CreateItem("string", "IdStr", "Title", "ValueHorzAlign:right;");
var sValueHorzAlign = oString.ValueHorzAlign;
// Reading from the property
oString.ValueHorzAlign = "right";
// Writing into the property