Vcl.Grids.TStringGrid.Create
Delphi
constructor Create(AOwner: TComponent); override;
C++
__fastcall virtual TStringGrid(System::Classes::TComponent* AOwner);
/* TWinControl.CreateParented */ inline __fastcall TStringGrid(HWND ParentWindow) : TDrawGrid(ParentWindow) { }
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
constructor | public | Vcl.Grids.pas Vcl.Grids.hpp |
Vcl.Grids | TStringGrid |
Description
Creates an instance of TStringGrid.
Call Create to create an instance of TStringGrid at runtime. For string grids placed on forms at design time, Create is called automatically.
AOwner is another component, typically a form, that becomes the grid's Owner. The Owner is responsible for freeing the grid.