[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Finds a node containing the specified data.
Source position: comctrls.pp line 3242
public function TTreeNodes.FindNodeWithData( |
const NodeData: Pointer |
):TTreeNode; |
NodeData |
|
Pointer to the node data to locate in tree nodes for the container. |
TTreeNode instance which contains the specified data, or Nil when not found.
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.
Version 3.2 | Generated 2024-02-25 | Home |