Sign in Join
FPDoc Onlineexperiment

THideSelectionMode enumeration

In unit ComCtrls

Controls the display logic used when HideSelection is enabled for a tree view control.

Declaration

pascal
THideSelectionMode = (hsmGray,hsmHide)

Description

Values in THideSelectionMode control how (or if) a selection node is highlighted when the tree view control loses focus. THideSelectionMode is the type used to implement the HideSelectionMode property in TCustomTreeView. The value is used when the Paint method in TCustomTreeView / TTreeView is called to display the tree nodes on the control.

Added in LCL version 5.0.

See also

Values

hsmGrayDraws a selection node using a "grayed" or "dimmed" state when the associated control loses focus. The value in the HideSelection property in the tree view control is ignored for this value.
hsmHideCauses a selection node to hide any highlighting when the associated control loses focus. This is the Delphi VCL-compatible setting, and is enabled when the HideSelection property for the associated control is True.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.