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

TCustomListView.InsertItem

Inserts an Item into the List.

Declaration

Source position: comctrls.pp line 1522

protected procedure TCustomListView.InsertItem(

  AItem: TListItem

); virtual;

Arguments

AItem

  

Item with the values inserted into the Items for the control.

Description

Signals the OnInsert event handler (when assigned) using the value in AItem as an argument.

InsertItem is called from the DoInsert method when an overridden method has been implemented in a descendent class and called from ItemInserted.

See also

TCustomListView.OnInsert

  

Called when a list item is inserted in program code.

TCustomListView.DoInsert

  

Performs actions needed to insert the specified list item.

TCustomListView.ItemInserted

  

ItemInserted - the specified item is inserted into the list.

TListItem

  

Represents the items created in TCustomListView and descendants.