ListTree.Insert
Posted: Wed Sep 23, 2015 9:26 pm
Hi Andreas,
Docs:
If I specify "active" in listnode$ within my code structure I get a DSI error in ____Dispatcher everytime, if I specify "root" the code runs fine, but of course the item I am trying to insert does not end up the right place in my code. I need this listnode$ value when set to "active" to be fixed.
Docs:
Code: Select all
Inserts entry$ at the position which is defined with listnode$ and prevnode$. Entry$ contains the name of the entry as string. id$ must be a unique string identifier that you want to use to refer to the newly inserted tree node.
In listnode$ you specify the node whose list is used to insert the entry. 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.
Code: Select all
mui.DoMethod(menu,"insert","=BAR=", pos,"active","active","active")