hierarchical lists with collapsing arrows

Marielle Lange mlange at lexicall.org
Fri Apr 14 07:28:01 EDT 2006


Dear Xeubie,

Why not simply reuse the code of the ontology manager in the open  
gallery? Basically, you send an xml tree where the expanded nodes are  
represented with + and the unexpanded ones represented with - and  
this gets represented as a tree. You  can click on any arrow and it  
will change of shape. I use symbol fonts on the mac to display the  
arrows, but it shouldn't be too difficult to change the script to use  
an image (set the imageSource of char 1 of line x of tTreeObject to y)

Go to:
http://revolution.widged.com/stacks/?category=tools_plugins
Download the "ontology manager" (which proposes better written code  
and better commented code than the treeview one)

Or directly to:
http://revolution.widged.com/stacks/open/tools_plugins/ 
ontology_manager.rev.zip

Best,
Marielle
------------------------------------------------------------------------ 
--------
Marielle Lange (PhD),  Psycholinguist

Alternative emails: mlange at blueyonder.co.uk,

Homepage                                                            
http://homepages.widged.com/mlange/
Easy access to lexical databases                    http:// 
lexicall.widged.com/
Supporting Education Technologists              http:// 
revolution.widged.com/wiki/





More information about the use-livecode mailing list