RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TStringGrid.SetEditText Method

Generates an OnSetEditText event.

Pascal
procedure SetEditText(ACol: Longint; ARow: Longint; const Value: string); override;
C++
virtual __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. 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. 

 

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