RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomListView.InsertItem Method

Generates an OnInsert event.

Pascal
procedure InsertItem(Item: TListItem); dynamic;
C++
__fastcall InsertItem(TListItem Item);

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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!