Release 10.1A: OpenEdge Development:
Programming Interfaces

> ## Changing resource definitions

> The `GET–KEY–VALUE` statement can read and the `PUT–KEY–VALUE` statement can change the definition of any environment resource, including the definitions of colors and fonts stored in the current environment. However, these statements by themselves do not affect the current OpenEdge environment and its color and font tables. To have any definitions that are created using the `PUT–KEY–VALUE` statement take effect, you must replace the current environment by reloading the current environment (see the "Managing application environments" section).

> ##### Portable color and font definitions

> The portable and most effective way to change color and font definitions is to first change the definitions in the color and font tables, then use the `PUT–KEY–VALUE` statement to write the new definitions from the modified tables. You can affect the color and font tables in the current environment using the `COLOR–TABLE` and `FONT–TABLE` handles (see the "Accessing the current color and font tables" section), and you can allow the user to affect the current color and font tables using the `SYSTEM–DIALOG COLOR` and `SYSTEM–DIALOG FONT` statements (see the "Allowing the user to change colors and fonts" section).

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