Skip to content

piTooltipBkColor - cCJGrid

The background color of the tool tip window

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

Syntax

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

Description

You can set a column header tool tip via each column's psTooltip property. You can set each grid cell's tool tip by providing an OnGetTooltip event handler in the appropriate column object.

This property has no effect for the following tooltip peTooltipStyles: xtpToolTipStandard, xtpToolTipBalloon.

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

See Also

piTooltipTextColor