Language Reference Guide : System Classes : FieldObject Class : FgColor Attribute
 
Share this page          
FgColor Attribute
Data Type: integer
4GL Access: RW
The FgColor attribute controls the color of the field's foreground.
Default: CC_FOREGROUND
Descriptions of system constant values and their numeric equivalents are listed in Color Settings for Standard Palette.
Fields that have text displayed in them use this attribute to determine the color of the text. For BarFields, the value of this attribute determines the color of the bar.
Note:  Setting FgColor sets an internal value. If the field is currently in reverse video, the current background color changes. When the field is not in reverse video, the foreground color changes