Sign in Join
FPDoc Onlineexperiment

TOwnerDataListItems.Clear procedure

Member of TOwnerDataListItemspublicIn unit ComCtrls

Frees and Nils the list items stored in the container.

Declaration

pascal
procedure Clear; override

Description

Clear is an overridden method in TOwnerDataListItems. It reimplements the method introduced in the ancestor class (TListItems) to free and Nil each of the TListItem instances stored in the internal storage for the container. Prior to exit, the Count property is set to 0.

Clear does not call the inherited method.

See also

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