Show/Hide Toolbars

RiverSoftAVG Products Help

Navigation: Code Documentation > RSFMXCommon > FMX.RS.HelperFunctions > Routines

AddChildTreeViewItem(TCustomTreeView,TTreeViewItem,String,TObject) Method

Scroll Prev Top Next More

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. The TagObject is set to the Data parameter.

noteNote

It is recommended that you use the methods provided by FMX.RS.TreeViewHelper|TTreeViewItemHelper and FMX.RS.TreeViewHelper|TTreeViewHelper instead.

Namespace: FMX.RS.HelperFunctions

Parameters

Tree

Type: TCustomTreeView

Parent

Type: TTreeViewItem

Text

Type: String

Data

Type: TObject

Return Value

Type: TTreeViewItem

RiverSoftAVG Products Help © 1996-2016 Thomas G. Grubb