Defines a helper class for TCustomTreeView.
This helper class implements functions very similar to FMX.RS.HelperFunctions.pas
Namespace: FMX.RS.TreeViewHelper
Delphi
|
type
TTreeViewHelper = class helper for TCustomTreeView
end;
|
|
Name
|
Description
|
|
Add(String)
|
Overloaded. Add a tree view item as a top-level child of the tree. 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 top-level child of the tree. 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 top-level child of the tree. 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 all tree view items of the tree 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 tree view item of the tree whose TagString property matches the aText parameter. The function searches the entire tree. If no match is found, the function returns nil
|
|
ItemByTag(TObject)
|
Overloaded. Returns the tree view item of the tree whose TagObject property matches the aData parameter. The function searches the entire tree. If no match is found, the function returns nil
|
Top
|