I'm using a Tree View control to display a tree structure but I'm running into a problem: data can be associated with tree 'leaves' but [apparently] not to tree 'nodes'. Just to make myself clear:
Code: Select all
put "1" into p["first label"]
put "2" into p["second label"]
put "2.1" into p["second label"]["first sublabel of second label"]
put "2.2" into p["second label"]["second sublabel of second label"]
set the arrayData of widget "tv2" to p
So, the line with 'second label' with data = 2 does not appear. Also, I can get an 'actionDoubleClick' message when I click on the leaves (#1, 2.1 & 2.2) but not on #2