Action
Returns the text of the item in the specified column or the text in all columns, separated by a semicolon.
Availability
This functionality is supported only if you are using the Classic Agent.
Syntax
sText = tree.GetItemText (itemIndex[, iColIndex])
Variable
|
Description
|
sText
|
The text of the item.
STRING.
|
itemIndex
|
The item to find.
INTEGER.
|
bRawMode
|
Optional: The index number of the column to return. If you do not supply this variable,
Silk Test Classic returns the text in all columns.
INTEGER.
|
Notes
If the tree widget does not have columns, then
GetItemText returns an exception,
E_COLUMN_INDEX_INVALID.
GetItemText for the TreeViewEx class overrides the base class methods.
GetItemText(TreeViewEx) has a different list of arguments than
GetItemText(TreeView).