Vcl.Forms.TCustomForm.CreateParams
Delphi
procedure CreateParams(var Params: TCreateParams); override;
C++
virtual void __fastcall CreateParams(Vcl::Controls::TCreateParams &Params);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Vcl.Forms.pas Vcl.Forms.hpp |
Vcl.Forms | TCustomForm |
Description
Initializes the window-creation parameter record when the form window is created.
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.