color

The color property specifies the color of a field in a form. The values come from the ColorKind enumeration:

If you assign the defaultColor value, other conditions determine the displayed color, as shown in the following table:

Table 1. Values of defaultColor
Are all fields on the form assigned the value defaultColor? Value of protect Value of intensity Displayed color for a field assigned the value defaultColor
yes YES or SKIP not BOLD blue
yes YES or SKIP BOLD white
yes NO not BOLD green
yes NO BOLD red
no any value not BOLD green
no any value BOLD white

Compatibility

Table 2. Support for color property
Data item JSF handler VGUI record Console UI Text Form Java™ Text Form COBOL Print Form Java Print Form COBOL
Yes No No Yes* Yes* Yes* No No

* The following additional compatibility considerations apply:

Table 3. Compatibility considerations for color
Platform Issue
COBOL generation The value black is not supported for this property.
Console UI For Console UI fields, the default color is white.
Text UI The property is supported for constant fields on text forms.

Feedback