Table of Contents

TTMSFNCDataGridRenderer.EditCell Method

Opens the in-place editor for the given cell. ACellStart positions the caret; AInsertKey starts in insert mode; AValue pre-fills the editor text.

API unit family: TMSFNCDataGridRenderer Declaring type: TTMSFNCDataGridRenderer

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 Initial edit/caret positioning behavior.
AInsertKey When True, starts the editor in insert-key mode.
AValue Initial editor value.
AKey Keyboard key that triggered editing, or 0 when editing was started programmatically.