GetSelectedTextOfColumn Function

Class

SWTTree.

Action

Returns the text (full path) of a column from a treeview control.

Availability

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

Syntax

treeview.GetSelectedTextOfColumn ([column])
Variable Description
column Optional: The column for which you want to view content. INTEGER.

Notes

GetSelectedTextOfColumn returns the full path of the currently selected item in the treeview. If no item is selected, the return value is an empty string.

Example

Verify(SWTControls.SWTTabControl1.Control17.SWTTabControl1.Tree.TreeViewEx1.GetSelectedTextOfColumn(3), "2")