Name
Listtree.Exchange -- exchange two tree nodes
Synopsis
mui.DoMethod(id, "Exchange", listnd1$, treend1$, listnd2$, treend2$)
Function
Exchanges the two tree entries specified in listnd1$ and listnd2$.

Listnd1$ specifies the node whose list is used to find the entry. The search is started at the beginning of this 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.

Treend1$ specifies the node which is to be exchanged. This can be the string identifier of a node or one of the following special values:

Head
The head of the list defined in listnd1$ is exchanged.

Tail
Exchanges the tail of the list.

Active
Exchanges the active node.

Listnd2$ specifies the node whose list is used to find the entry that the first entry should be exchanged with. The search is started at the beginning of this 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.

Treend2$ specifies the node which is to be exchanged. This can be the string identifier of a node or one of the following special values:

Head
The head of the list defined in listnd2$ is exchanged.

Tail
Exchanges the tail of the list.

Active
Exchanges the active node.

Up
Exchanges with the next entry.

Down
Exchanges with the previous entry.

Inputs
id
id of the listtree object
listnd1$
id of list node to use or special value (see above)
treend1$
id of tree node to use or special value (see above)
listnd2$
id of list node to use or special value (see above)
treend2$
id of tree node to use or special value (see above)

Show TOC