
treeview node count not incrementing when adding new nodes
I am populating a treeview with records from a database. When
retrieving a new record from the database I want to loop through the
treeview to see which treeview.node I should be adding the new record
to. After adding a new node, the treeview.nodes.count value does not
change, so I am not able to loop through the tree to find the node to
add to. I am not sure what I am missing. Any ideas? The other odd
fact is that Treeview1.Nodes.Count <> TreeView1.GetNodeCount(True).
Thanks,
Tim