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) { }
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
constructor | public | Vcl.DbGrids.pas Vcl.DBGrids.hpp |
Vcl.DBGrids | TCustomDBGrid |
説明
Create は,TCustomDBGrid のインスタンスを作成および初期化します。
Create コンストラクタを呼び出すと,実行時にデータベース対応グリッドをインスタンス化できます。設計時にフォーム上に配置されたデータベース対応グリッドは,実行時に自動的に作成されます。
単独のコンポーネントをパラメータとして渡すと,グリッドの解放を処理するオーナーをグリッドに提供できます。