RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TStringGrid.GetEditText Method

Generates an OnGetEditText event.

Pascal
function GetEditText(ACol: Longint; ARow: Longint): string; override;
C++
virtual __fastcall AnsiString GetEditText(Longint ACol, Longint ARow);

The inplace editor calls GetEditText to obtain the text for the indicated cell. GetEditText returns the Value parameter set by the OnGetEditText event handler. If there is no OnGetEditText event handler, GetEditText returns an empty string. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!