TCustomTreeView.SelectionVisible function
Indicates whether selected tree node(s) on the control are visible.
Declaration
function SelectionVisible: BooleanFunction result
True when a selected tree node on the control is visible.Description
SelectionVisible is a
Boolean function which indicates
whether the selected tree node(s) for the control are in its visible display
area. SelectionVisible checks both multi-selections and a single selection on
the control.
For multi-selections, the GetFirstMultiSelected and GetNextMultiSelected methods are called to visit each of the tree nodes. The return value is set to True when the first tree node with its IsVisible property set to True is found.
When Items does not contain multi-selections, the value in Selected is used. The return value is True when the IsFullHeightVisible property in the tree node is set to True.
SelectionVisible is used in the MakeSelectionVisible method and controls whether the MakeVisible method is called for the first tree node in a selection.
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
