How to make it so that the nodes simply do not have a parent

I'm trying to move the nodes to the root of the tree so that they do not have a parent

Tree.MoveTo(LNodes[i], nil, amAddChildFirst, False);

But they are simply deleted! How to make it so that the nodes simply do not have a parent?


我相信你需要

Tree.MoveTo( LNodes[i], LNodes[0], amInsertBefore, False);
链接地址: http://www.djcxy.com/p/35078.html

上一篇: 访问冲突MSVCR80D.dll错误

下一篇: 如何做到这一点,使节点根本没有父母