Name
Listtree.Close -- close list node
Synopsis
mui.DoMethod(id, "Close", listnode$, treenode$)
Function
Closes a node or nodes of a listtree. When the active entry was a child of the closed node, the closed node will become active.

Listnode$ specifies the node whose list is used to find the entry. The search is started at the head of the list. This can be the string identifier of a node or one of the following special values:

Root
The root list.

Active
The list of the active node.

Parent
Parent list.

Treenode$ specifies the node which is to be closed. If there are children of the node, they are removed from the display list. This can be the string identifier of a node or one of the following special values:

Head
The head of the list defined in listnode$ is closed.

Tail
Closes the tail of the list.

Active
Closes the active node.

All
All nodes of the list which is specified in listnode$ are closed.

Inputs
id
id of the listtree object
listnode$
id of list node to use or special value (see above)
treenode$
id of tree node to use or special value (see above)

Show TOC