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: [EMAIL PROTECTED],

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


_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to