Specifies the foreground color
value for the field. It is the equivalent of the font.fill.color.value expression.
The fontColor property affects both the caption
and the value of a field, except when the caption color is set through
scripting.
For example, the script this.fontColor="0,0,255"; applies
to both the caption and the value of a field.
You cannot use the fontColor property to change
the font color of the field caption. To change the font color of
the field caption, use caption.font.fill.color.value.
SyntaxReference_Syntax.fontColor = "[0-255], [0-255], [0-255]"
Values
Type
|
Values
|
String
|
A valid string that represents the font
color.
|
JavaScriptTextField1.fontColor = "150,130,33";
FormCalcTextField1.fontColor = "150,130,33"
|
|
|