Try OpenEdge Now
skip to main content
Programming Interfaces
Input/Output Processes : Colors and Fonts : Color in character interfaces
 

Color in character interfaces

Color in a character interface differs from color in a graphical interface in these ways:
*In character interfaces, the BGCOLOR and FGCOLOR attributes have the unknown value (?).
*Each location in the color table contains a foreground/background color pair.
*DCOLOR specifies a foreground/background color pair that a widget uses when it displays data.
*PFCOLOR specifies a foreground/background color pair that a widget uses when it prompts for data.
When designing your interface, make sure that you specify different color pairs for DCOLOR and PFCOLOR.
* Widget states and color
* Color specification