


Use the COLOR-MODEL setting to perform uniform changes to your program's color scheme. These changes are represented by rules that act on your colors. An example of a rule is "exchange the foreground and background colors". You use the COLOR-MODEL setting to change your color scheme in a global way.
There are eleven color models, numbered from "0" to "10". Each of the models performs a particular set of changes.
There are so many possible color schemes, and so many personal preferences, that it's impossible to predict which color model will look best for your application. We summarize the general effects of each model in this chapter, to help you narrow your choices. Even so, the quickest way to pick the most suitable model is probably to try each one. To do this, add the line:
COLOR-MODEL 0
to your COBOL configuration file, and then run your program in the Windows environment. Observe the results. Then edit the configuration file to specify color model "1" and run again. You'll quickly see which model produces the results you want.
The default color model is model "0". It causes no changes to occur to your color scheme. The remaining 10 models are grouped in pairs:
COLOR-MODEL settings "7" and "8" most closely match typical Windows programs.
More: