Vcl.DBGrids.TCustomDBGrid.Create
Delphi
constructor Create(AOwner: TComponent); override;
C++
__fastcall virtual TCustomDBGrid(System::Classes::TComponent* AOwner);
/* TWinControl.CreateParented */ inline __fastcall TCustomDBGrid(HWND ParentWindow) : Vcl::Grids::TCustomGrid(ParentWindow) { }
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
constructor | public | Vcl.DbGrids.pas Vcl.DBGrids.hpp |
Vcl.DBGrids | TCustomDBGrid |
Description
Creates and initializes an instance of TCustomDBGrid.
Call Create to instantiate a data-aware grid at runtime. Grids placed on a form at design time are created automatically.
Pass a single Component as a parameter to provide the grid with an Owner that is responsible for freeing the grid.