Progress
Programming
Handbook
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.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |