TreeView.
Collapse an item in a treeview control.
treeview.Collapse(Item)
Variable | Description |
---|---|
Item | The item to collapse. STRING or INTEGER. |
Collapse collapses the specified treeview item if it is currently expanded (that is, has visible children).
For information on specifying Item, see the TreeView class.
See the UseExpandButton option for more information about how Silk Test Classic expands and collapses nodes in a JavaJFCTreeView in the Java extension.
MyDialog.MyTreeView.Collapse("/root/child/grandchild")