Input/Output Processes : Colors and Fonts : Color and font inheritance
Color and font inheritance
If you do not specify colors or a font for a widget, ABL assigns colors and a font using the following rules of precedence:
1. Field-level widgets inherit the colors and font of the containing frame.
2. Frame-level widgets inherit the default colors and fonts specified in the environment.
Note: In the environment, you can specify two default fonts but you cannot specify default widget colors.
3. Otherwise, frame-level widgets inherit the default colors and fonts specified for the operating system.
Note: On Windows, the default foreground color is color Window Text. For two-dimensional widgets, the default background color is color Window. For three-dimensional widgets, the default background color is color Button Face. These colors are configurable using the Control Panel.
Note that frames do not inherit colors and fonts from the containing window. If you do not specify the font for a frame, ABL uses the default font, not the font of the window. This is because ABL determines the frame layout at compile time when the window's colors and fonts (determined at runtime) are not yet available.