>Hey All,
>
>Whats the best way to clear the content of a TreeView active X control?
>There is no Clear method for the object.
>
>I tried resetting the Count property of the Nodes Collection to 0 but its a
>read only property.
>
>Any suggestions?
>
>Thanks in advance
>
>Pascal
Pascal,
I think you have to roll your own.
for lxx = Treeview.Nodes.Count to 1 step -1
Treeview.Nodes.Remove(lxx)
endfor
HTH.
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao