Working with Trees > Classes > TreeList > TreeList.find
find (value, column, setFocus, fireEvents);
value. Searched string.
column. Index of the column where the search is performed. By default the method searches in the first column (with the index 0).
setFocus. Determines whether the found element is focused. The parameter is set to true by default, and the found element gets focus.
fireEvents. Determines whether the TreeList.Finding event is generated on method execution. By default this parameter is set to true, and the event is generated.
The find method searches for a tree element.
Search is possible if the TreeList.EnableSearch property is set to true.
The example of method use is given in description of the TreeList.Finding event.
See also: