Show/Hide Toolbars

RiverSoftAVG Products Help

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

FindTreeViewItem(TTreeView,String,TCompareStringsFunction) Method

Scroll Prev Top Next More

Finds and returns the tree view item where the Text property equals the Value parameter. The function searches the entire tree until the first match is found. If no match is found, the function returns nil.

The Compare parameter provides the function to compare the text strings.

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: TTreeView

Value

Type: String

Compare

Type: TCompareStringsFunction

Return Value

Type: TTreeViewItem

RiverSoftAVG Products Help © 1996-2016 Thomas G. Grubb