Managing colors and fonts in graphical applications
- Last Updated: January 17, 2024
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
Graphical interfaces provide a variety of techniques to help manage color and font definitions for an application. Using these techniques, ABL allows a graphical application to manage colors and fonts at four levels of run-time operation:
-
User access to the color and font tables — Allows
the user to change the definitions for current dynamic color and
font table entries using the
SYSTEM–DIALOG COLORandSYSTEM–DIALOG FONTstatements. For more information, see Allowing the user to change colors and fonts. -
Procedure access to the color and font tables — Examines and
changes the definitions for color table entries in the current environment
using the
COLOR–TABLEhandle, and examining height and width characteristics of font table entries in the current environment using theFONT–TABLEhandle. Also, this section addresses setting the definition for arbitrary colors using theRGB–VALUEfunction. For more information, see Accessing the current color and font tables. -
Procedure access to color and font definitions — Reads and
writes color and font definitions for the current environment using the
GET–KEY–VALUEandPUT–KEY–VALUEstatements. For more information, see Retrieving and changing color and font definitions. -
Procedure replacement of the current environment — Replaces
the application's current color and font tables with tables from
a different environment using the
LOAD,USE, andUNLOADstatements. For more information, see Managing application environments.