Sign in Join
FPDoc Onlineexperiment

TCustomListView.CreateListItems function

Member of TCustomListViewprotectedIn unit ComCtrls

Creates a new TListItems instance used in the Items property.

Declaration

pascal
function CreateListItems: TListItems; virtual

Function result

TListItems instance created in the method.

Description

CreateListItems allocates the container used for the Items property when OwnerData is set to False. It creates and returns a new TListItems instance using the list view control as the Owner of the items in the container. A TOwnerDataListItems instance is allocated for use in Items when OwnerData is changed to True.

See also

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