piTooltipTextColor - cCJGrid
The color of the text that is displayed in the tool tip window
Type: Property
Access: Read/Write
Data Type: Integer
Parameters: None
Syntax
Property Integer piTooltipTextColor
| Access Type | Syntax |
|---|---|
| Read Access: | Get piTooltipTextColor to IntegerVariable |
| Write Access: | Set piTooltipTextColor 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 piTooltipTextColor to (rgb(255, 0, 0)) // red
Set piTooltipTextColor to clPurple
Set piTooltipTextColor to clBtnFace
See Also