Adds a tree view item and sets its parent to the Parent tree view item. The new tree item is returned.
The text of the new tree view item is set to the Text parameter.
Note |
---|
It is recommended that you use the methods provided by FMX.RS.TreeViewHelper|TTreeViewHelper and FMX.RS.TreeViewHelper|TTreeViewItemHelper instead. |
Namespace: FMX.RS.HelperFunctions
Delphi |
function AddChildTreeViewItem( const Tree: TCustomTreeView; const Parent: TTreeViewItem; |
Parameters
Tree
Type: TCustomTreeView
Parent
Type: TTreeViewItem
Text
Type: String
Type: TTreeViewItem
Reference•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.FindTreeViewChildItem(TTreeViewItem,TObject) •FMX.RS.HelperFunctions|FindTreeViewItem(TTreeView,string) •FMX.RS.HelperFunctions|FindTreeViewItem(TTreeView,string,TCompareStringsFunction) •FMX.RS.HelperFunctions.FindTreeViewItem(TTreeView,TObject) •TTreeViewHelper •TTreeViewItemHelper |