Skip to content

piLineColor - AbstractTreeView

Controls the color of the lines drawn in the treeview

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

Syntax

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

Description

piLineColor controls the color of the lines drawn in the treeview. Set this property to any valid color. When set to clDefault (the default), Windows provides the color utomatically.

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