PLB_BGFG Keyword
PLBWIN, PLBCE or PLBLinux
PLB_BGFG={[l]mn}
This keyword defines the default screen colors. The first digit (m) is the default background color and the second digit (n) is the default foreground color. The color numbers are the same as those defined for the *BGCOLOR and *FGCOLOR controls.
If the optional [l] digit is non-zero, the PLBWIN runtime will set the SETMODE *LTGRAY mode ON for the MAINWINDOW initialization. This corrects a problem where a DISPLAY *ES was not painting the MAINWINDOW gray when the PLB_BGFG was set to yellow and the SETMODE *LTGRAY was set to be ON in a program.
Example:
The hexadecimal value of 0x100 digit of the hex value of 0x160 indicates that the MAINWINDOW is initialized with the SETMODE *LTGRAY set to ON. This creates a MAINWINDOW with a gray background automatically.
See Also: PLBCE Keywords, PLBWIN Keywords, PLBLinux Environment Variables, Compiler and Runtime Options
![]() |