Promotic
Login logon

BgColor - property of the PmfNumber object

Description:
The property returns or sets the background color of the window for entering the value of the PmfNumber object.
Syntax:
String BgColor
Values:
RGB String (represents a color) is written in the form "#RRGGBB".
Note:
Property access for read and write.
 
This property is also functional in Web panels.
Example:
JavaScriptSelect and copy to clipboard

var oNumber = oForm.CreateItem("number", "IdNmb1", "Value", "BgColor:#00ff00;Value:22;");
oNumber.BgColor = "#ffff00";   // Writing into the property
var sBgColor = oNumber.BgColor;   // Reading from the property

History:
Pm9.00.32: Created
PROMOTIC 9.0.34 SCADA system documentation MICROSYS, spol. s r.o.

Send page remark Contact responsible person
© MICROSYS, spol. s r.o.Update cookies preferences