RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomGrid.SetEditText Method

Provides the interface for a method that updates the text associated with a cell.

Pascal
procedure SetEditText(ACol: Longint; ARow: Longint; const Value: string); dynamic;
C++
__fastcall SetEditText(Longint ACol, Longint ARow, const AnsiString Value);

SetEditText is called by the inplace editor so that the grid can store the new value for the current cell. The SetEditText method for TCustomGrid does nothing. Descendants of TCustomGrid override this method to update an internal representation of the cell's value, or to generate an OnSetEditText event. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!