Vcl.Outline.TCustomOutline.DeleteNode
Delphi
procedure DeleteNode(Node: TOutlineNode; CurIndex: LongInt);
C++
void __fastcall DeleteNode(TOutlineNode* Node, int CurIndex);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Vcl.Outline.pas Vcl.Outline.hpp |
Vcl.Outline | TCustomOutline |
Description
Fixes up the outline after a node has been deleted.
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.