API: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 an instance of TCustomGrid.
Vcl.DBGrids.TCustomDBGrid.Create inherits from Vcl.Grids.TCustomGrid.Create. All content below this line refers to Vcl.Grids.TCustomGrid.Create.
Creates an instance of TCustomGrid.
Call Create to create a grid control at runtime. Grid controls placed on a form at design time are created automatically.
Owner is a component that is responsible for freeing the grid and for initiating the streaming process when it is saved to a form file.