Action
Returns the contents of a column from a treeview control.
Availability
This functionality is supported only if you are using the Open Agent.
Syntax
lsContents = treeview.GetContentsOfColumn (bRawMode, [column])
Variable
|
Description
|
lsContents
|
List of currently viewable items in the treeview.
LIST OF STRING.
|
bRawMode
|
Prevents spaces from being trimmed from items.
BOOLEAN.
|
column
|
Optional. The column for which you want to view content.
INTEGER.
|
Notes
GetContentsOfColumn returns a list of strings, with one list element for each currently viewable item (that is, an item with no collapsed ancestors). Each string specifies the full path of an item from the root of the tree.
Example
LIST OF STRING lsContents = SWTControls.SWTTabControl1.Control17.SWTTabControl1.Tree.TreeViewEx1.GetContentsOfColumn(true, 3)