[Overview][Constants][Types][Classes][Procedures and functions][Index] | Reference for unit 'ComCtrls' (#lcl)

# TCustomTreeView.HotTrackColor

Font color used to draw the text on a hovered tree node when hot tracking is enabled.

## Declaration

Source position: comctrls.pp line 3660

`protected property TCustomTreeView.HotTrackColor : TColor read FHotTrackColor write FHotTrackColor default clNone;`

## Description

HotTrackColor is a TColor property with the color used for the font on a hot-tracked tree node. The default value for the property is clNone and causes either SelectionFontColor or the color in Font to be used for the text. SelectionFontColor is used when themed drawing is not enabled in Options.

Use HotTrack to enable or disable hot-track highlighting for tree nodes on the control.

## See also

TCustomTreeView.Options |  | The set of options enabled in the tree view control.
TCustomTreeView.HotTrack |  | Enables or disables highlight / underline drawing styles on a tree item when the mouse is hovered over it.
TCustomTreeView.SelectionFontColor |  | Color used to draw the text for a (multi-)selected item when enabled.
TCustomTreeView.SelectionColor |  | Color used to paint the background for the selected tree node in the control.
TCustomTreeView.DoPaintNode |  | Renders the specified tree node to the canvas for the control.
TCustomTreeView.DoPaint |  | Implements the Paint method for the control.