hi Everyone,
i am creating an button tree view using this but trouble to find out parent node text while clicking on child node.

Suppose i have open 3 parent node and click on 2 parent Child then how to find parent name


can anybody help me.

Thanks in advace.

btnNode.Parent holds the parent, but you have to set it before you add the button

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.