Vcl.DBGrids.TCustomDBGrid.CreateWnd
Delphi
procedure CreateWnd; override;
C++
virtual void __fastcall CreateWnd();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Vcl.DbGrids.pas Vcl.DBGrids.hpp |
Vcl.DBGrids | TCustomDBGrid |
Description
Creates the window used to display the data-aware grid.
The Windows control for the grid can be temporarily destroyed and recreated in order to set properties that require changing the window creation parameters. TCustomDBGrid calls CreateWnd to create this Windows control when necessary.
CreateWnd overrides the inherited method to set up the relationship between the visual display and the data source after the window is created.