Skip to content

piFreezeColsDividerColor - cCJGrid

This is the color of the freeze column divider

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

Syntax

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

Description

The freeze column divider is used to visually separate grid columns that do not scroll horizontally ("frozen" columns) from columns that are horizontally scrolled.

Set piFreezeColumnsCount to control the number of freeze columns in your grid. Only the leftmost grid columns can be frozen.

Set peFreezeColsDividerStyle to control the visual style of the freeze column divider.

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 piFreezeColsDividerColor to (rgb(255, 0, 0)) // red
Set piFreezeColsDividerColor to clPurple
Set piFreezeColsDividerColor to clBtnFace