Sign in Join
FPDoc Onlineexperiment

TCustomListView.DoInsert procedure

Member of TCustomListViewprotectedIn unit ComCtrls

Performs actions needed to insert the specified list item.

Declaration

pascal
procedure DoInsert(AItem: TListItem); virtual

Arguments

AItem

List view item inserted in the method.

Description

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

DoInsert is called from the ItemInserted method which occurs when the list item is stored in the Items property.

See also

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