Progress
Programming
Handbook


Establishing Dynamic Colors

You can use the SYSTEM–DIALOG FONT statement to change any font in the font table. However, you can use the SYSTEM–DIALOG COLOR statement to update only those colors that are dynamic. To make a color dynamic, use the COLOR–TABLE system handle.

DEFINE VARIABLE status-ok AS LOGICAL.
status-ok = COLOR-TABLE:SET-DYNAMIC(n, yes). 

In this example, n is the color table entry you want to make dynamic. For more information on the COLOR–TABLE handle, see the Progress Language Reference and the "Accessing the Current Color and Font Tables" section in this chapter.


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095