Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxCustomTreeView.MakeVisible(TdxTreeViewNode) Method

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

#Declaration

Delphi
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