TCustomGrid.GetEditText function
Gets the text displayed in the Editor for the specified cell.
Declaration
function GetEditText(ACol: LongInt; ARow: LongInt): string; virtualArguments
ACol | Column number for the editor text. |
ARow | Row number for the editor text. |
Function result
Text displayed in the cell editor.
Description
GetEditText always returns an empty string ('') in
TCustomGrid. It is overridden in descendent classes like
TCustomDrawGrid and TCustomStringGrid to signal an
OnGetEditText
event handler.
GetEditText is called from the EditorDoSetValue method when
TGridMessages are dispatched to the Editor to set the
edit mask and value used in the control.
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
