Sign in Join
FPDoc Onlineexperiment

TListView.OnCreateItemClass property

Member of TListViewpublishedIn unit ComCtrls

Event handler signalled to get the class reference used to create new list view items.

Declaration

pascal
property OnCreateItemClass:;

Description

OnCreateItemClass is a TLVCreateItemClassEvent property with the event handler signalled when a new list item is created in the CreateListItem method. It is signalled (when assigned) to allow a custom list item class type to be used in the list view control.

Arguments passed to the event handler identify the list view control and the default class type used for the list items in the control. TListItem is the default class type used to create and store the values in the Items property.

This description is the one of ComCtrls.TCustomListView.OnCreateItemClass.

See also

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