Revision: 22846
Updated Code
at March 1, 2010 15:47 by CaptainProton
Updated Code
Private Sub clearTreeView(treeView_ As Object) Dim i As Long For i = treeView_.Nodes.count To 1 Step -1 treeView_.Nodes.Remove i Next i End Sub
Revision: 22845
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at January 24, 2010 05:36 by CaptainProton
Initial Code
Private Sub clearTreeView(TreeView_ As TreeView) Dim i As Integer With TreeView_.Nodes For i = .Count To 1 Step -1 .Remove i Next i End With End Sub
Initial URL
Initial Description
The usual Clear method for TreeViews is painfully slow; this is a quicker alternative. It clears all nodes in a TreeView.
Initial Title
clearTreeView(Object)
Initial Tags
Initial Language
Visual Basic