Sign in Join
FPDoc Onlineexperiment

TCustomListView.DoDeletion procedure

Member of TCustomListViewprotectedIn unit ComCtrls

Performs actions needed to delete the specified list item.

Declaration

pascal
procedure DoDeletion(AItem: TListItem); virtual

Arguments

AItem

List view item deleted in the method.

Description

DoDeletion ensures an overridden Delete method in a descendent class is always executed for the list item in AItem. If the method has been overridden, the OnDeletion event handler is signalled (when assigned).

DoDeletion is called from ItemDeleted, and occurs after the value in LastSelected has been updated.

See also

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