I'm experimenting with a tree view widget; there are some things I can't find a way to do. Help appreciated. Livecode 8.1.0.
If I do
Code: Select all
put "first label" into p[1]
put "second label" into p[2]
set the arrayData of widget "tv" to p
Code: Select all
put "first label" into p[1]
put "second label" into p[2]
put "first sublabel of second label" into p[2][1]
put "second sublabel of second label" into p[2][2]
set the arrayData of widget "tv" to p
Question 1: how can I have a label for a node that has subnodes?
Question 2: is there a way to display only the labels, not the indices which are irrelevant to the user, still retaining the triangles?
By the bye: why is it, if I delete the last subnode of a node, the latter still has a triangle which is now useless?