Promotic
WikipediaLinkedInYoutubeTwitterFacebook

ValueHorzAlign - property of the PmfButton object

Description:
The way of horizontal text alignment.
Syntax:
String ValueHorzAlign
Values:
center (default) - to the center
left - 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

//Setting the propert when the object is created
var oBtn = oForm.CreateItem("button", "Id", "Title", "ValueHorzAlign:right;");
var sValue = oBtn.ValueHorzAlign;  //Reading the value

oBtn.ValueHorzAlign = "right";  //Writing the value

History:
Pm9.00.06: Created
PROMOTIC 9.0.13 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