Vcl.DBGrids.TCustomDBGrid.Create

提供: RAD Studio API Documentation
移動先: 案内検索

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 コンストラクタを呼び出すと,実行時にデータベース対応グリッドをインスタンス化できます。設計時にフォーム上に配置されたデータベース対応グリッドは,実行時に自動的に作成されます。

単独のコンポーネントをパラメータとして渡すと,グリッドの解放を処理するオーナーをグリッドに提供できます。

関連項目