TCustomListView.CreateListItem function
Signals the OnCreateItemClass event handler to get the class type used for new list items, and creates a new list item.
Declaration
function CreateListItem: TListItem; virtualFunction result
List item created in the method.
Description
TListItemClass is the default class reference used to create the
list item in the method. Use the
OnCreateItemClass event handler
to provide an alternate class type used for list Items in the control.
Items is assigned as the owner for the list item instance created
in the method.
CreateListItem is called from the Add method in
TListItems when an Owner has been assigned for the
container.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
