*BGCOLOR (KEYIN and DISPLAY)
ANSI
*BGCOLOR=[{value} | {*color}]
This list control provides access to the PC compatible color attributes. {value} may be a decimal value, an Expression, or a numeric variable between zero (0) and eight (8). The various colors are defined by the following color map. The color values may be given as any one of the color keywords defined in the {*color} section. For example:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Each of these DISPLAY statements sets the background color to red.
|
Color |
Value |
|
*BLACK |
0 |
|
*BLUE |
1 |
|
*GREEN |
2 |
|
*CYAN |
3 |
|
*RED |
4 |
|
*MAGENTA |
5 |
|
*BROWN |
6 |
|
*WHITE |
7 |
See Also: List Controls (KEYIN and DISPLAY), List Controls (KEYIN), DISPLAY, KEYIN
![]() |