Sign in Join
FPDoc Onlineexperiment

TCustomTreeView.SelectionIsHidden function

Member of TCustomTreeViewpublicIn unit ComCtrls

Indicates whether the highlighting for a selection node is actually hidden (not visually displayed) or displayed in a "grayed" or "dim" state when the control loses focus.

Declaration

pascal
function SelectionIsHidden: Boolean

Function result

Returns True if selection node(s) are available but not highlighted, "grayed" or "dimmed".

Description

When HideSelection is True and the control is not focused, the selection highlighting is really hidden only in Delphi mode. Lazarus mode ignores the HideSelection setting.

Use HideSelectionMode to control the behavior used for selection nodes when the tree view control loses focus.

Added in LCLversion 5.0.

See also

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