FindItemInColumn Function

Class

SWTTree.

Action

Returns the index of a named item.

Availability

This functionality is supported only if you are using the Open Agent.

Syntax

iIndex = treeview.FindItemInColumn (item, column)
Variable Description
item The item to find. STRING.
column The column to find. INTEGER.

Notes

FindItemInColumn returns the global index of a treeview item specified by path. The returned index is the flat index of the item, as if the treeview were a simple list box. As with all treeview functions, the index is relative to the items which are currently viewable (that is, those that have no collapsed ancestors).

Example

SWTControls.SWTTabControl1.Control17.SWTTabControl1.Tree.TreeViewEx1.FindItemInColumn("/1", 10)