API:Vcl.DBGrids.TCustomDBGrid.SetEditText

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

Delphi

procedure SetEditText(ACol, ARow: Longint; const Value: string); override;

C++

DYNAMIC void __fastcall SetEditText(int ACol, int ARow, const System::UnicodeString Value);

プロパティ

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

説明

セルのテキストを更新するメソッドとのインターフェースを提供します。

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

セルのテキストを更新するメソッドとのインターフェースを提供します。

SetEditText メソッドは,グリッドが現在のセルの新しい値を格納できるようにするために,インプレースエディタによって呼び出されます。TCustomGridSetEditText メソッドは何もしません。TCustomGrid コンポーネントクラスから派生するオブジェクトはこのメソッドをオーバーライドして,セルの値の内部表現を更新したり,OnSetEditText イベントを生成したりします。

関連項目