DADiSP Worksheet Functions > Function Categories > Colors > SETGCOLOR
Dynamically sets a global color parameter.
SETGCOLOR(param, color)
param |
- |
An integer. Corresponds to the color-related parameters in the file dspcolor. |
color |
- |
An integer, any pre-defined macro name or integer for a supported color. |
setgcolor(17, red)
sets the 17th parameter (the Window Color) in dspcolor to RED. To see the change, use REDRAWALL.
See the dspcolor file for details on the supported global colors. For example,
view dspcolor
See DEFCOLOR to dynamically define a new color.
dspcolor file