RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomOutline.DeleteNode Method

Fixes up the outline after a node has been deleted.

Pascal
procedure DeleteNode(Node: TOutlineNode; CurIndex: LongInt);
C++
__fastcall DeleteNode(TOutlineNode Node, LongInt CurIndex);

DeleteNode is called automatically whenever a node in the outline is destroyed. It fixes up the index and makes sure that the SelectedItem property is valid.  

To Delete a node from the outline, call the Delete method of the outline or free the TOulineNode object. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!