TreeList.find

Syntax

find (value, column, setFocus, fireEvents);

Parameters

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. By default this parameter is set to true, 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.

Description

The find method searches for a tree element.

Comments

Search is possible if the TreeList.EnableSearch property is set to true.

Example

The example of method use is given in description of the TreeList.Finding event.

See also:

TreeList