I am populating an items collection (com) and pass that to a procedure to fill the treeview.
Now by ordinary treeview population you are on a level to know which parent item handle to take and so on.
Since this is a collection i have to prepare a substitute.
The items collection (and it's items) is not aware of the treeview.
For example my text list could look like:
And a 2nd root is also allowed.
To prevent odd texts like:
i was looking for something more handy.
Now by ordinary treeview population you are on a level to know which parent item handle to take and so on.
Since this is a collection i have to prepare a substitute.
The items collection (and it's items) is not aware of the treeview.
For example my text list could look like:
Code:
"Root" "Item1" "parent1" "Item1" "Item2" "Item3" "Item4" "parent2" "Item1" "Item2" "Item2"
To prevent odd texts like:
Code:
"Root.Parent1.Item1" "Root.Parent1.Item2"
Comment