Skip to main content

TdxCustomTreeView.MakeVisible(TdxTreeViewNode) Method

Expands all ancestor nodes of the specified tree node and brings it into view.

Declaration

procedure MakeVisible(ANode: TdxTreeViewNode);

Parameters

Name Type Description
ANode TdxTreeViewNode

A tree node.

Remarks

The Tree View control displays a vertical scrollbar if all nodes do not fit into the client area by height. You can call the MakeVisible procedure to scroll the content area to display the target node.

Code Example: Scroll Content to Display the Target Node

The following code example scrolls Tree View content to display the Help Files node:

tvcFolders.MakeVisible(tvcFolders.Items[4]);

VCL Editors Library: The Visible Target Node

See Also