TGCustomTree.FindNode(TGCustomTreeNode,TGCustomTreeNode,TTraversalOrder) Method |
Scroll Prev Top Next More |
Finds the parent node of the input node. The function returns nil if a parent cannot be found that contains the input Node as one of its children.
Namespace: GTree
Delphi |
public |
Parameters
CurrentNode
Type: TGCustomTreeNode
Parent node of the subtree to search
Node
Type: TGCustomTreeNode
Node to look for its parent.
TraversalOrder
Type: TTraversalOrder
Order in which to visit the nodes in the tree.
Type: TGCustomTreeNode