RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomOutline.Delete Method

Deletes a node from the outline.

Pascal
procedure Delete(Index: LongInt);
C++
__fastcall Delete(LongInt Index);

Call Delete to remove a node and all its descendants from the outline. Index is the index of the node to delete. 

Delete removes the node and its children, frees all associated memory, and then calls DeleteNode to update the indexes and make sure that SelectedItem is valid. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!