Sign in Join
FPDoc Onlineexperiment

TCustomListView.OnInsert property

Member of TCustomListViewprotectedIn unit ComCtrls

Event handler signalled when a list item is added to or inserted in the Items for the control.

Declaration

pascal
property OnInsert: TLVInsertEvent read FOnInsert write FOnInsert;

Description

OnInsert is a TLVInsertEvent property with the event handler signalled when a new TListItem instance is stored in the Items property. Arguments to the event handler include the object (TCustomListView) for the notification and the TListItem instance for the action.

OnInsert is signalled (when assigned) from the DoInsert method, and occurs when the ItemInserted method is called. This happens after the list item has been added to a TListItems container.

See also

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