Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The RemoveItems method removes specific items from the tree. The Items parameter is an @FM delimited list of item keys. The items, if they exist, will be permanently removed from the tree. If you want to delete all items, use the RemoveAllItems method instead.

If you remove an item that has children, then all its children are removed with it.

...

Code Block
// Assume a tree with boys and girls organized into teams 
// Remove the purple team and all its children 
Send_Message(@Window:".OLE_TREE", "OLE.RemoveItems", "PurpleTeam")

See Also

AddItemsInsertItemsMoveItemsRemoveAllItems