Vcl.Grids.TCustomDrawGrid.OnSetEditText
Delphi
property OnSetEditText: TSetEditEvent read FOnSetEditText write FOnSetEditText;
C++
__property TSetEditEvent OnSetEditText = {read=FOnSetEditText, write=FOnSetEditText};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
event | protected | Vcl.Grids.pas Vcl.Grids.hpp |
Vcl.Grids | TCustomDrawGrid |
Description
Occurs when the user edits the value of a cell.
Write an OnSetEditText event handler to perform any special processing of the text edited by the user in an in-place editor. For example, use the OnSetEditText event to retrieve and store the value of a cell so that it can be displayed in an OnDrawCell event handler. OnSetEditText occurs every time the user changes the text.
The Value
parameter is the new value for the cell specified by the ACol
and ARow
parameters.
OnSetEditText does not occur unless the Options property includes goEditing
.