Sign in Join
FPDoc Onlineexperiment

TCustomShellListView.CreateListItem function

Member of TCustomShellListViewprotectedIn unit ShellCtrls

Create a new entry added to the Items for the shell control.

Declaration

pascal
function CreateListItem: TListItem; override

Description

CreateListItem is an overridden TListItem function in TCustomShellListView. It ensures that the TShellListItem class type is used for new Items added to the shell control. If an OnCreateItemClass event handler has been assigned, the inherited method in TCustomListView is called to confirm/override the item class used and to create the new instance added to Items.

The return value contains the new TListItem (or descendent) class instance created for the list item in the method.

Added in LCL version 3.0.

See also

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