Table of Contents

TTMSFNCCustomDataGrid.EditCell Method

Opens the in-place editor for the specified cell.

API unit family: TMSFNCDataGrid Declaring type: TTMSFNCCustomDataGrid

Syntax

procedure EditCell(ACell: TTMSFNCDataGridCellCoord; ACellStart: TTMSFNCDataGridEditCellStart = gcsNone; AInsertKey: Boolean = False; AValue: string = ''; AKey: Word = 0); virtual;

Parameters

Name Description
ACell Cell coordinate to edit.
ACellStart Determines how the editor is activated (key press, mouse click, etc.).
AInsertKey When True, simulates an Insert key press to activate the editor.
AValue Optional initial value to pre-fill the editor.
AKey Key code that triggered editing, used for key-press activation.