ListTree.Insert

Discuss GUI programming with the MUI Royale plugin here
Post Reply
djrikki
Posts: 682
Joined: Wed Apr 06, 2011 12:26 am

ListTree.Insert

Post by djrikki »

Hi Andreas,

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.
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.

Code: Select all

	mui.DoMethod(menu,"insert","=BAR=", pos,"active","active","active")
Evolve - Rapid GUI Development tool for MUI Royale and RapaGUI
http://myevolve.wordpress.com
User avatar
airsoftsoftwair
Posts: 5433
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: ListTree.Insert

Post by airsoftsoftwair »

I can reproduce this here. As one can see in the Listtree.mcc autodocs, "Active" doesn't seem supported at all because it says "n/a" after MUIV_Listtree_Insert_ListNode_Active. Cf. here: http://amiga.sourceforge.net/amigadevhe ... ion=Search

Please file an enhancement request about this for Thore at http://muidev.de
djrikki
Posts: 682
Joined: Wed Apr 06, 2011 12:26 am

Re: ListTree.Insert

Post by djrikki »

Thanks, I will however need your assistance.

http://muidev.de/ticket/257#comment
Evolve - Rapid GUI Development tool for MUI Royale and RapaGUI
http://myevolve.wordpress.com
User avatar
airsoftsoftwair
Posts: 5433
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: ListTree.Insert

Post by airsoftsoftwair »

Clarified now.
djrikki
Posts: 682
Joined: Wed Apr 06, 2011 12:26 am

Re: ListTree.Insert

Post by djrikki »

Thanks, crash gone, half way there, just need the implementation now.
Evolve - Rapid GUI Development tool for MUI Royale and RapaGUI
http://myevolve.wordpress.com
Post Reply