Action
Returns the text of the item.
Availability
This functionality is supported only if you are using the Classic Agent.
Syntax
sText = treeview.GetItemText (iIndex[, bRawMode])
Variable
|
Description
|
sText
|
The text of the item.
STRING.
|
iIndex
|
The item to find.
INTEGER.
|
bRawMode
|
Optional: Prevents spaces from being trimmed from items.
BOOLEAN.
|
Notes
GetItemText returns the text of a treeview item specified by global index.
GetItemText returns only the text of the specified item, not its full path from the root.
Example
Verify(MyDialog.MyTreeView.GetItemText(4), "grandchild")