RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomListView.CreateParams Method

Initializes the window-creation parameter record.

Pascal
procedure CreateParams(var Params: TCreateParams); override;
C++
virtual __fastcall CreateParams(TCreateParams Params);

CreateParams is called automatically to initialize the window-creation parameters when the list view needs to create its window. CreateParams overrides the inherited method to specify a list view window that implements the property settings of the list view control. 

When overriding the CreateParams method, be sure to call the inherited method before changing any of the values in the Params parameter. 

 

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