Skip to content

piBackColor - AbstractTreeView

Controls the color of the background of the treeview

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

Syntax

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

Description

piBackColor controls the color of the background 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 piBackColor to (rgb(255, 0, 0)) // red
Set piBackColor to clPurple
Set piBackColor to clBtnFace