Sign in Join
FPDoc Onlineexperiment

TListItem.Destroy destructor

Member of TListItempublicIn unit ComCtrls

Destructor for the class instance.

Declaration

pascal
destructor Destroy; override

Description

Destroy is the overridden destructor for the class instance.

Destroy sets the internal flag that marks the list item for destruction in the Owner. When the Owner is assigned, its ItemDestroying method is called to signal destruction of the list item in the container.

Destroy free and Nils resources allocated for the SubItems property, and calls the inherited destructor prior to exit.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.