RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomGrid.GetEditText Method

Returns the value of the indicated cell formatted for editing.

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

The inplace editor calls GetEditText to obtain the text for the indicated cell. GetEditText returns an empty string. Descendants of TCustomGrid override the GetEditText method to return a string that represents the contents of the cell indicated by the ACol and ARow parameters. 

 

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