RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomDBGrid.Create Constructor

Creates and initializes an instance of TCustomDBGrid.

Pascal
constructor Create(AOwner: TComponent); override;
C++
virtual __fastcall TCustomDBGrid(TComponent * AOwner);

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. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!