Vcl.Grids.TCustomDrawGrid.OnSetEditText

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

Delphi

property OnSetEditText: TSetEditEvent read FOnSetEditText write FOnSetEditText;

C++

__property TSetEditEvent OnSetEditText = {read=FOnSetEditText, write=FOnSetEditText};

プロパティ

種類 可視性 ソース ユニット
event protected
Vcl.Grids.pas
Vcl.Grids.hpp
Vcl.Grids TCustomDrawGrid

説明

ユーザーがセルの値を編集すると発生します。

OnSetEditText イベントハンドラを記述すると,インプレースエディタでユーザーによって編集されるテキストについて特別な処理を実行できます。たとえば,OnDrawCell イベントハンドラで表示できるように,OnSetEditText イベントを使ってセルの値を取り出して保存することができます。OnSetEditText イベントは,ユーザーがテキストを変更するたびに発生します。

Value パラメータは ACol および ARow パラメータによって指定されるセルの新しい値です。

OnSetEditText イベントは,Options プロパティで goEditing オプションが設定されていない限り発生しません。

関連項目