>Another idea :
>
DO WHILE oParentNode.children > 1
> thisform.Oletreeview.Nodes.Remove(oParentNode.Child.Index)
> ENDDO
Or starting to remove from lastsibling with step -1 ?
>Cetin
Yep, Dan suggested the same way. I tested and it works fine. Thanks for the help.
Roi
'MCP' Visual FoxPro
In Rome, there was a poem.
About a dog, who found two bone.
He lick the one, he lick the other.
He went pyscho, he drop dead!