To reset a treeview, there seems to be two methods:

Method 1:

long ll_rootitem

DO UNTIL this.FindItem(RootTreeItem!,0) = -1
ll_rootitem = this.FindItem(RootTreeItem!,0)
this.DeleteItem(ll_rootitem)
LOOP


Method 2:

this.DeleteItem(0)

Are these two methods be equivalent?

Thanks,
Rick