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
.
Syntax
Reference_Syntax.fontColor = "[0-255], [0-255], [0-255]"
Values
Type
|
Values
|
String
|
A valid string that represents the font
color.
|
JavaScript
TextField1.fontColor = "150,130,33";
FormCalc
TextField1.fontColor = "150,130,33"
|
|
|