RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomListView.CreateListItems Method

Creates the TListItems object that implements the Items property.

Pascal
function CreateListItems: TListItems; virtual;
C++
virtual __fastcall TListItems CreateListItems();

TCustomListView calls CreateListItems internally to create the object that implements the Items property. As implemented in TCustomListView, CreateListItems creates and returns a TListItems instance. Override this method to use a specialized TListItems descendant instead. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!