Skip to content

piDisabledTextColor - cCJGridColumn

Specifies the column's disabled text color

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

Syntax

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

Description

A column is disabled when it's pbFocusable property is set to False.

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

See Also

piDisabledColor