Predefined Color Constants
These numeric constants are in Zim’s data dictionary. They can be used instead of the number value to make your code more readable.
Name | Value | Name | Value |
Black | 1 | cWindowText | 20 |
Blue |
2 | cWindowFrame | 21 |
Green | 3 | cScrollBarColor | 22 |
Cyan | 4 | cMenuTextColor | 23 |
Red | 5 | cMenuColor | 24 |
Magenta | 6 | cInactiveCaption | 25 |
Brown | 7 | cInactiveBorder | 26 |
LightGrey | 8 | cHighlightText | 27 |
DarkGrey | 9 | cHighlightColor | 28 |
LightBlue | 10 | cGreyText | 29 |
LightGreen | 11 | cCaptionText | 30 |
LightCyan | 12 | cButtonText | 31 |
LightRed | 13 | cButtonShadow | 32 |
LightMagenta | 14 | cButtonFace | 33 |
Yellow | 15 | cWindowBackground | 34 |
White | 16 | cAppWorkSpace | 35 |
cWindowColor | 17 | cActiveCaption | 36 |
cButtonHighlight | 18 | cActiveBorder | 37 |
cInactiveCaptionTxt | 19 |