Defect Number: 59187
Product: ACUCOBOL-GT
Modules: Runtime
Machines Affected: All
The ACTIVE_BACKGROUND special property for the Entry Field control enables you to change the active entry field background color by setting it to a value that represents the new color as follows.
ACTIVE_BACKGROUND = color-value
Where color-value is a number from 1 to 16 inclusive, and that is also defined in your acucobol.def file.
Set the property ACTIVE_BACKGROUND = COLOR_VALUE for any entry field. COLOR_VALUE can be When the entry-field is selected, it will change background color to this value, and when it loses focus it will revert.
For example, to create an entry field with a white background-color, black foreground-color (text), and a green active-background:
03 ENTRY-FIELD [...] BACKGROUND-COLOR is 7, FOREGROUND-COLOR IS 0, ACTIVE-BACKGROUND is GREEN.
For a list of valid values, see the FOREGROUND-COLOR and BACKGROUND-COLOR Phrases topic in your ACUCOBOL-GT documentation.