Ive got a treeview working for the first time in my life and I'm pretty stoked about it! Ive got pretty much everything sussed out about it, but I have just two questions ...
1 - how can I detect a right-click on a treeview item? (i'd like to display a popup menu then)
2 - how can I determine the text of the parent one level above the item selected? eg.:
if I clicked on Oranges, how can I determine that Citrus was the item that I came from? (eg. not the parent, Fruits, but the sub-parent, Citrus)
------------------
1 - how can I detect a right-click on a treeview item? (i'd like to display a popup menu then)
2 - how can I determine the text of the parent one level above the item selected? eg.:
Code:
Fruits |- Citrus |-Oranges
------------------
Comment