RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomForm.CreateParams Method

Initializes the window-creation parameter record when the form window is created.

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

The CreateWnd method calls CreateParams to initialize the parameters it passes to CreateWindowHandle. TCustomForm overrides CreateParams to customize the way the form creates its Windows representation after calling the inherited method. You should never need to override this method in the context of a form class. 

The fields of the Params parameter become the parameters to a call to the CreateWindowEx OS function. 

 

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