Try OpenEdge Now
skip to main content
Programming Interfaces
Input/Output Processes : Colors and Fonts : Allowing the user to change colors and fonts
 

Allowing the user to change colors and fonts

In graphical interfaces, ABL allows you to invoke native common dialogs for color and font selection in ABL using the SYSTEM–DIALOG COLOR and the SYSTEM–DIALOG FONT statements. Using these dialogs, you can allow the user to choose a new value for a color or font number. Once the user chooses a value, ABL stores the choice in the color or font table location specified by the number. All visible widgets defined with the specified color or font number immediately redisplay according to the user selection.
* Establishing dynamic colors
* Color dialog box
* Color dialog box example
* Saving a modified color
* Font dialog box
* Font dialog box example
* Saving a modified font