Hey Guys,
I've gotten so used to Listbox and Dropdown list, I've been requested to change all of that now to incorporate treeview instead.
I can build my treeview no problem.
var myBtn = w.add ("button", undefined, "Apply");
myBtn.onClick = function (){
var Text1 = tree.selection.text
myComp.layer("Text1").property("ADBE Text Properties").property("ADBE Text Document").value.text(Text1);
}
It's this part that I always struggle with, which is how do I reference an item within the tree.
Any help would be appreciated, I would have thought it would be similar to a listbox or a dropdown list, but I can't find an example or forum that discusses these items. Nor is there a manual that references it, I can find how to build the tree, not reference it.