Vcl.Outline.TCustomOutline.Delete
Delphi
procedure Delete(Index: LongInt);
C++
void __fastcall Delete(int Index);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | Vcl.Outline.pas Vcl.Outline.hpp |
Vcl.Outline | TCustomOutline |
Description
Deletes a node from the outline.
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.