TCustomdxTreeViewEdit.GetTreeNodeByText(TTreeNode,string,Boolean) Method
Returns the tree node of a drop-down tree-view control by its text.
Declaration
function GetTreeNodeByText(ParentTreeNode: TTreeNode; Text: string; flag: Boolean): TTreeNode;
Parameters
| Name | Type |
|---|---|
| ParentTreeNode | TTreeNode |
| Text | string |
| flag | Boolean |
Returns
| Type |
|---|
| TTreeNode |
Remarks
Call GetTreeNodeByText to get the tree node of a drop-down tree-view control by its text. The ParentTreeNode parameter is a tree node from which the searching begins.
To search all children of the ParentTreeNode recursively, set the flag parameter to True. To search the entire tree view, use nil as a ParentTreeNode parameter.
See Also