We rely on ads to keep creating quality content for you to enjoy for free.
Please support our site by disabling your ad blocker.
Continue without supporting us
If the prompt is still appearing, please disable any tools or services you are using that block internet ads (e.g. DNS Servers, tracking protection or privacy extensions).
Question
ka-la
So I have encountered a probleem while trying to populate a TreeView control with nodes. I hope that there are a some kind people who t?ke the time and help me figuure out a correct solution.
So lets say I have 3 arrays:
["Example", "2", "1"]
{"Example", "2", "2"]
["Example", "3", "0"]
I know that my arrays have always exactly 3 elements in them, so the treeview will never have more than 3 childnodes
But all I am able to get is
Example
2
1
Example
2
2
Example
3
0
But the goal would be:
Example
2
1
2
3
0
So where would I start chasing down the answer to my probleem?
Big thanks in advance :)
Link to comment
https://www.neowin.net/forum/topic/1193857-c-and-making-a-treeview-out-of-arrays/Share on other sites
26 answers to this question
Recommended Posts