Finds and returns the tree view item where the TagObject property equals the Data parameter. The function searches all children of the Item parameter, all of their children, etc until the first match is found. If no match is found, the function returns nil.
Note |
---|
It is recommended that you use the methods provided by FMX.RS.TreeViewHelper|TTreeViewItemHelper and FMX.RS.TreeViewHelper|TTreeViewHelper instead. |
Namespace: FMX.RS.HelperFunctions
Delphi |
function FindTreeViewChildItem(const Item: TTreeViewItem; const Data: TObject): TTreeViewItem; overload; |
Parameters
Item
Type: TTreeViewItem
Data
Type: TObject
Type: TTreeViewItem
Reference•FMX.RS.HelperFunctions|AddChildTreeViewItem(TCustomTreeView,TTreeViewItem,string) •FMX.RS.HelperFunctions|AddChildTreeViewItem(TCustomTreeView,TTreeViewItem,string,string) •FMX.RS.HelperFunctions|AddChildTreeViewItem(TCustomTreeView,TTreeViewItem,string,TObject) •FMX.RS.HelperFunctions|FindTreeViewChildItem(TTreeViewItem,string) •FMX.RS.HelperFunctions|FindTreeViewChildItem(TTreeViewItem,string,TCompareStringsFunction) •FMX.RS.HelperFunctions|FindTreeViewItem(TTreeView,string) •FMX.RS.HelperFunctions|FindTreeViewItem(TTreeView,string,TCompareStringsFunction) •FMX.RS.HelperFunctions.FindTreeViewItem(TTreeView,TObject) •TTreeViewHelper •TTreeViewItemHelper |