Defines a helper class for TTreeViewItem.
This helper class implements functions very similar to FMX.RS.HelperFunctions.pas
Namespace: FMX.RS.TreeViewHelper
Delphi
|
type
TTreeViewItemHelper = class helper for TTreeViewItem
end;
|
|
Name
|
Description
|
|
Add(String)
|
Overloaded. Add a tree view item as a child of the current tree view item. The new child tree view item is returned.
The Text property is set to the aText parameter.
|
|
Add(String,String)
|
Overloaded. Add a tree view item as a child of the current tree view item. The new child tree view item is returned.
The Text property is set to the aText parameter. The TagString property is set to the aData parameter.
|
|
AddObject(String,TObject)
|
Overloaded. Add a tree view item as a child of the current tree view item. The new child tree view item is returned.
The Text property is set to the aText parameter. The TagObject property is set to the aData parameter.
|
|
ItemBy(TTreeViewCompareFunction)
|
Overloaded. Searches the child tree view items (and their children, etc) of the current tree view item until the Compare function returns true. The tree view item that is matches is returned or nil if the Compare function always returned false.
|
|
ItemByTag(String)
|
Overloaded. Returns the child tree view item of the current tree view item whose TagString property matches the aText parameter. The function searches the entire subtree of which the current tree view item is the root. If no match is found, the function returns nil
|
|
ItemByTag(TObject)
|
Overloaded. Returns the child tree view item of the current tree view item whose TagObject property matches the aData parameter. The function searches the entire subtree of which the current tree view item is the root. If no match is found, the function returns nil
|
Top
|