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

# TCustomTreeView.MakeSelectionVisible

Makes a selected tree node visible on the control.

## Declaration

Source position: comctrls.pp line 3742

`public procedure TCustomTreeView.MakeSelectionVisible;`

## Description

MakeSelectionVisible allows the control to display a selected node on the tree view control. It forces the tree node to become visible in the display area for the control. The node made visible is either the value in Selected or the first multi-selected node in Selections. The MakeVisible method for the TTreeNode instance is called to update the parent nodes and the associated tree view control.

No actions are performed in the method when SelectionVisible returns True.

## See also

TCustomTreeView.Selected |  | The selected tree node in the control.
TCustomTreeView.Selections |  | Provides indexed access to the multi-selected tree nodes in the control.
TCustomTreeView.SelectionVisible |  | Indicates whether selected tree node(s) on the control are visible.
TTreeNode.MakeVisible |  | Forces the tree node to become visible.