Link Search Menu Expand Document

STreeItem.Delete Method

Explanation Deletes itself and all items pointed to by its children.
When called for a root item, it deletes all items except the root item.
The accessor indicating the deleted item is disabled and the Id property is 0.
Call format item.Delete( )
Return value None
Arguments None
Exception EXT-12 Invalid accessor
Example of use
    STree1.RootItem.Delete();
    
Related item Append, Insert methods