I'm using TTreeView with defined several Nodes. I also have several images on form. I want to program action that after I click on some image, in TreeView gets selected for example first Node. I tried
TreeView1->Selected=TreeView1->Items[0];
but it didn't work because Selected is TTreeNode* and Items[0] is TTreeNodes.
please help someone
TreeView1->Selected=TreeView1->Items[0];
but it didn't work because Selected is TTreeNode* and Items[0] is TTreeNodes.
please help someone