Treeview Refresh

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Another Treeview query:

How do I refresh a Node's list of items? (probably the selected one)

Cheers,
Steve.
 
Say you have a proc to load your treeview called LoadTree, which you call on
forms load event
and oTV is a reference to Treeview control object

to refresh whole tree you have to run:

oTV.Nodes.Clear
LoadTree


for refresh children of one node - delete all of them and then add again

--
Best regards,
___________
Alex Dybenko (MVP)
http://alexdyb.blogspot.com
http://www.PointLtd.com
 
Back
Top