Vcl.ComCtrls.TCustomListView.InsertItem
Delphi
procedure InsertItem(Item: TListItem); dynamic;
C++
DYNAMIC void __fastcall InsertItem(TListItem* Item);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Vcl.ComCtrls.pas Vcl.ComCtrls.hpp |
Vcl.ComCtrls | TCustomListView |
Description
Generates an OnInsert event.
List view objects call InsertItem internally when new items are added to the Items property list. Override the InsertItem method to cause descendant classes to take specific action in addition to this event when new items are inserted, or to block the OnInsert event from occurring.