TTreeNodes.FindNodeWithData function
Finds a node containing the specified data.
Declaration
function FindNodeWithData(const NodeData: Pointer): TTreeNodeArguments
NodeData | Pointer to the node data to locate in tree nodes for the container. |
Function result
TTreeNode instance which contains the specified data, or Nil when not found.
Description
Iterates over the nodes in the container to locate a TTreeNode instance which contains NodeData in its Data property. GetFirstNode provides the first node examined in the container. The process continues until NodeData is located, or GetNext does not return a TTreeNode instance.
The return value contains Nil if NodeData is not found in the tree nodes.
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
