Navigation: Code Documentation > RSCommon > GTree > Classes > TGCustomTreeNode > Methods
TGCustomTreeNode.IndexOf(TGCustomTreeNode) Method
Returns the index of the input node in the current node's list of children. If the node is not found, the function returns -1.
Namespace: GTree
Delphi
public function IndexOf( Node: TGCustomTreeNode ): Integer; virtual;
Parameters
Node
Type: TGCustomTreeNode
Type: Integer
•GTree.TGCustomTreeNode.Child[Integer]
•GTree.TGCustomTreeNode.ChildCount
•TGCustomTreeNode
•GTree