Vcl.DBGrids.TCustomDBGrid.SetEditText

From RAD Studio API Documentation
Jump to: navigation, search

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.DbGrids.pas
Vcl.DBGrids.hpp
Vcl.DBGrids TCustomDBGrid

Description

Updates the edited version of the current cell's data.

The inplace editor calls SetEditText so that the grid can store the new value for the current cell. The grid stores this value until the user moves to a new cell or presses Escape. If the user moves to a new cell, this value is written to the record in the database. If the user presses Escape, the value is discarded.

See Also