Sign in Join
FPDoc Onlineexperiment

TListItem.Delete procedure

Member of TListItempublicIn unit ComCtrls

Removes the list item from the container.

Declaration

pascal
procedure Delete

Description

Delete checks the internal TListItemFlags values for the class instance to ensure that Delete has not already been called for the list item.

If lifDestroying is not included in the flags, the Free method called to free the class instance. No actions are performed in the method if lifDestroying is already included in the flag values.

Delete is called from the Delete method in TListItems. It is also called when TListItems is notified that the list item has been freed in Destroy.

See also

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