Finding a Node in a TreeView

Synopsis

The tree view common control does not have any built-in method for searching the entire tree.

Statistics

  • Total Hits - 37412

  • Total Votes - 112 votes

  • Vote Up - 49 votes

  • Vote Down - 63 votes

  • Domain - www.delphi-central.com

  • Category - Delphi/Delphi Misc

  • Submitted By - Shekhar

  • Submitted on - 2008-04-16 06:58:15

Description

The "tree view" common control does not have any built-in method for searching the entire tree, or for selecting an item contained within the tree when given a specific item label. This article provides code that returns the location of any item in a tree when given a specific label to search for.

Source Website

Please use the following link to visit the site. There is a possibility that this content has been removed from the given URL or may be this site has been shut down completely.

http://www.delphi-central.com/tutorials/FindTreeViewNode.aspx

Broken  |   Save  |   Liked  |   Down

Advertisements