piTextColor - AbstractTreeView
Controls the color of text in the items of the treeview
Type: Property
Access: Read/Write
Data Type: Integer
Parameters: None
Syntax
Property Integer piTextColor
| Access Type | Syntax |
|---|---|
| Read Access: | Get piTextColor to IntegerVariable |
| Write Access: | Set piTextColor to IntegerVariable/Value |
Description
piTextColor controls the color of text in the items of the treeview. Set this property to any valid color. When set to clNone (the default), Windows provides the color automatically.
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 piTextColor to (rgb(255, 0, 0)) // red
Set piTextColor to clPurple
Set piTextColor to clBtnFace