Show/Hide Toolbars

RiverSoftAVG Products Help

Navigation: Code Documentation > RSVclCommon > RSVclHelperFunctions > Routines

FindTreeNode(TTreeView,TTreeNode,String,Boolean,TCompareStringsOption) Method

Scroll Prev Top Next More

Finds and returns the tree node where the Caption property equals the Text 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.

Namespace: RSVclHelperFunctions

Parameters

tv

Type: TTreeView

Tree View to search

Parent

Type: TTreeNode

Top-level tree node to search

Text

Type: String

Caption to find

CaseSensitive

Type: Boolean

Case-sensitive comparison (true) or not (false)

Option

Type: TCompareStringsOption

Type of comparison

Return Value

Type: TTreeNode

RiverSoftAVG Products Help © 1996-2016 Thomas G. Grubb