Link Search Menu Expand Document

STreeItem.DeleteChild Method

Explanation Disconnects all child objects connected to the object from the object tree.
See the Delete method for disconnecting from the object tree.
Since Ver.5.0.2, in addition to the above, it has been extended to delete its own child items from the tree.
Call format item.DeleteChild()
Return value None
Arguments None
Exception EXT-12 Invalid accessor
Example of use
    STree1.RootItem.DeleteChild();
    
Related item Object.DeleteChild method