GetItemText Function (ListViewEx)

Class

ListViewEx.

Action

Returns the text contained in a column of a listview item. The column is specified by the item and the column index.

Availability

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

Syntax

sItemText = listView.GetItemText (item, columnIndex)
Variable Description
sItemText The text returned by the item. STRING.
item The text of the item. LISTITEM.
columnIndex The column position of the item. INTEGER.

Example

The following example returns the first column for the fourth item.

Verify(TestApplication.ListViewDialog.TheListView.GetItemText(4, 1)