Action
Returns the names, not the full paths, of all children of an expanded item in a treeview.
Availability
This functionality is supported only if you are using the Classic Agent.
Syntax
lsChildren = treeview.GetSubItems (Item)
Variable
|
Description
|
lsChildren
|
List of children of the specified item.
LIST OF STRING.
|
Item
|
The item whose children to return.
STRING or
INTEGER.
|
Notes
If the specified item has no children or if it is collapsed, the returned list is empty.
Example
lsItems = MyDialog.MyTreeView.GetSubItems("/root/child")