API:Vcl.DBGrids.TCustomDBGrid.GetEditText

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

Delphi

function  GetEditText(ACol, ARow: Longint): string; override;

C++

DYNAMIC System::UnicodeString __fastcall GetEditText(int ACol, int ARow);

プロパティ

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

説明

指定されたセルの値を編集形式で返します。

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

指定されたセルの値を編集形式で返します。

インプレースエディタは,GetEditText メソッドを呼び出し,指定したセルのテキストを取得します。GetEditText メソッドは,空の文字列を返します。TCustomGrid コンポーネントの派生オブジェクトは GetEditText をオーバーライドして,ACol パラメータと ARow パラメータで指定されたセルの文字列を返します。

関連項目