Promotic
Login logon

TextColor - property of the PmfNumber object

Description:
The property returns or sets the color of the text in the value entry window of the PmfNumber object.
Syntax:
String TextColor
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.
See also:
Example:
JavaScriptSelect and copy to clipboard

var oNumber = oForm.CreateItem("number", "IdNmb1", "Value", "TextColor:#0000ff;Value:224;");
oNumber.TextColor = "#ff0000";   // Writing into the property
var sTextColor = oNumber.TextColor;   // Reading from the property

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

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