Top
PowerCOBOL V11.0 User's Guide
FUJITSU Software

4.8.7 Setting Colors

To change the background or foreground color of a form or control, right-click once on it and select Properties from the pop-up menu. Then select the Colors tab from the Properties dialog box that appears as follows:

Figure 4.12 The Colors tab of the CmCommand control Properties dialog box

This dialog box allows you to alter the background, foreground and highlight color of the associated control.

There are three color sets provided from which to choose colors:

System Colors

These are colors defined by the operating system for specific control behavior.

Standard Colors

These are the standard colors defined by the PowerCOBOL.

Custom Colors

This displays a color palette as follows:

Figure 4.13 The custom Color palette

You may select a basic color from here, or if you desire something a bit more customized, click on the Define Custom Colors button and you will be presented with the Define Custom Color dialog box.

Figure 4.14 The Define Custom Color dialog box

Using this dialog box, you may move the cross hair icon in the color window on the right to select a specific color range.

Then move the small arrow tip at the top right of the vertical color bar to select the specific color from the range represented.

As you do this, the actual color selection will appear in the larger white box entitled Color|Solid.

Alternatively, you may manually type in values for Hue, Saturation, Luminance, or RGB to create a color.

Once you have selected a color, you may click on the Add to Custom Colors button and your new color will be added to one of the white boxes in the Custom Colors field.

You may then select your custom color from the palette and apply it.