API:Vcl.DBGrids.TCustomDBGrid.CreateEditor

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

Delphi

function  CreateEditor: TInplaceEdit; override;

C++

virtual Vcl::Grids::TInplaceEdit* __fastcall CreateEditor();

プロパティ

種類 可視性 ソース ユニット
function protected
Vcl.DbGrids.pas
Vcl.DBGrids.hpp
Vcl.DBGrids TCustomDBGrid

説明

インプレースエディタコントロールを作成します。

Vcl.DBGrids.TCustomDBGrid.CreateEditor は Vcl.Grids.TCustomGrid.CreateEditor を継承しています。以下の内容はすべて Vcl.Grids.TCustomGrid.CreateEditor を参照しています。

インプレースエディタコントロールを作成します。

グリッドコントロールは,グリッドが最初に編集モードに入ったとき内部的に CreateEditor メソッドを呼び出します。CreateEditor はプロテクトメソッドとして定義されているので,TCustomGrid コンポーネントの派生オブジェクトは,TInplaceEdit の特別な派生メソッドを使ってセルを編集します。

関連項目