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