Top
PowerCOBOL V11.0 Reference
FUJITSU Software

4.48 ColorMap Property

Description:

Defines the color mapping for the image.

Used in control(s):

CommandButton

Values (with constants):

0 - No:(POW-COLORMAP-NO)
No color mapping.

1 - Back:(POW-COLORMAP-BACK)
Only maps the background using the color specified in Mapped Face Color in the ImageImage_CommandButton_page property page.

2 - All:(POW-COLORMAP-ALL)
Maps Black to the Button Text color,
Light Gray to the Button Face color,
White to the Button Highlight color and
Gray to the Button Shadow color.

The image is mapped only when the ColorMap property is "1 - Back" or "2 - All" regardless of the value of the UseSystemColor property.

PowerCOBOL maps the color of the ForeColor property to the Button Text color, and the color of the BackColor to the Button Background color if the UseSystemColor property is False. The system color always maps to the Button Highlight color and Shadow color.

Default value:

0 - No:(POW-COLORMAP-NO)

COBOL picture:

S9(4) COMP-5

OLE data type:

VT_I2

Design time access:

Set and reference.

Execution time access:

Not accessible.

Backward compatibility attribute:

None.