[Overview][Types][Classes][Procedures and functions][Index] |
Create a new entry added to the Items for the shell control.
Source position: shellctrls.pas line 281
protected function TCustomShellListView.CreateListItem: TListItem; override; |
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.
|
Signals the OnCreateItemClass event handler to get the class type used for new list items, and creates a new list item. |
|
|
Represents the items created in TCustomListView and descendants. |
|
|
Adds a new list item to the container. |
Version 4.0 | Generated 2025-05-03 | Home |