GetColumnName Function (TreeViewEx)

Class

TreeViewEx.

Action

Returns the name of a specified column in a tree.

Availability

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

Syntax

sName = tree.GetColumnName (iColIndex)
Variable Description
sName The name of the column in the TREE. STRING.
iCollIndex The column number in the tree. The index starts from one. INTEGER.

Notes

If the treeview does not have columns, GetColumnName returns the exception E_WINDOW_TYPE_MISMATCH.

If a tree widget has columns, but the iColIndex is out of range, then GetColumnName returns the exception E_COLUMN_INDEX_INVALID.