Vcl.Grids.TStringGrid.SetEditText
Delphi
procedure SetEditText(ACol, ARow: Longint; const Value: string); override;
C++
DYNAMIC void __fastcall SetEditText(int ACol, int ARow, const System::UnicodeString Value);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Vcl.Grids.pas Vcl.Grids.hpp |
Vcl.Grids | TStringGrid |
Description
Generates an OnSetEditText event.
Vcl.Grids.TStringGrid.SetEditText inherits from Vcl.Grids.TCustomDrawGrid.SetEditText. All content below this line refers to Vcl.Grids.TCustomDrawGrid.SetEditText.
Generates an OnSetEditText event.
SetEditText is called by the inplace editor so that the grid can store the new value for the current cell. SetEditText overrides the inherited parent class's method to generate an OnSetEditText event. Descendants of TCustomDrawGrid can override this method to update an internal representation of the cell's value, or to block the OnSetEditText event.