Skip to content

piCaptionForeColor - cCJGrid

The foreground text color of the column headers and footers

Type: Property
Access: Read/Write
Data Type: Integer
Parameters: None

Syntax

Property Integer piCaptionForeColor
Access Type Syntax
Read Access: Get piCaptionForeColor to IntegerVariable
Write Access: Set piCaptionForeColor to IntegerVariable/Value

Description

This color is used as the foreground or text of the column headers and footers in the grid and the column headers in the Field Chooser.

Default is clNone.

This is passed a single value representing an RGB color, which can be a constant representing a Standard Color or a System Color, or a set of R, G and B values. Individual Red, Green, and Blue colors are converted to a single value by using the RGB function.

Set piCaptionForeColor to (rgb(255, 0, 0)) // red
Set piCaptionForeColor to clPurple
Set piCaptionForeColor to clBtnFace

See Also

piCaptionBackColor