Color in character interfaces
- Last Updated: January 17, 2024
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
Color in character interfaces
Color in a character interface differs from color in a graphical interface in these ways:
- In character interfaces, the
BGCOLORandFGCOLORattributes have the unknown value (?). - Each location in the color table contains a foreground/background color pair.
-
DCOLORspecifies a foreground/background color pair that a widget uses when it displays data. -
PFCOLORspecifies 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.