Release 10.1A: OpenEdge Development:
Programming Interfaces

> ## Color dialog box

> Figure 6–1 shows the Windows system color dialog box.

> Figure 6–1: Windows color dialog box

> The Windows color dialog provides several ways to specify a new color:

> - Custom Colors — You can create a palette of 16 custom colors. To specify a color, you select the color box from the 16 available custom colors. The specified color appears in the ColorSolid box. To change a custom color, select one of the Basic Colors, or specify a color by using the Numeric Colors or Visual Colors technique. Each change replaces an existing color in the Custom Colors list.

> - Numeric Colors — You can enter either the Hue, Sat (Saturation), and Lum (Luminosity) values, or the Red–Green–Blue (RGB) values in the fields provided. The specified color appears in the Color|Solid box as you change each number.

> - Visual Colors — You can visually choose the Hue and Sat values by pressing and holding the mouse `SELECT` button and moving the mouse pointer in the large rainbow square to the color you want. You can visually choose the Lum value by moving the luminosity slider (at right) up or down. For each choice, the specified color appears in the Color|Solid box as you move the mouse.

> Clicking the OK button assigns the color that currently appears in the Color|Solid box of the Windows dialog to the dynamic color number specified in your `SYSTEM–DIALOG COLOR` statement.

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