Unit 'ComCtrls' Package
[Overview][Constants][Types][Classes][Procedures and functions][Index] [#lcl]

TCustomListView.DoInsert

Performs actions needed to insert the specified list item.

Declaration

Source position: comctrls.pp line 1521

protected procedure TCustomListView.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

TCustomListView.ItemInserted

  

ItemInserted - the specified item is inserted into the list.

TCustomListView.OnInsert

  

Called when a list item is inserted in program code.

TCustomListView.Items

  

Collection of list items displayed on the list view control.

TListItems.Insert

  

Insert an item in the list at AIndex, returning the value of the ListItem.

TListItems.InsertItem

  

InsertItem - procedure to insert AItem at position AIndex in the list.