I have a tree, when the user interacts with individual nodes, the colors change. The code:
treeview.selectednode.forecolor = color.red;
When the user clicks the button, I want the entire set of nodes to change to black, for example. Therefore, I code as such:
treeview.forecolor = color.black;
It works fine, except for those nodes that I previously changed to red. Is there any way around this?
source
share