Skip to main content
Table of Contents

TTMSFNCDataGridRenderer.OnBeforeOpenInplaceEditor Event

Fired before an in-place editor is opened. Allows changing the initial value or preventing the editor from opening.

API unit family: TMSFNCDataGridRenderer Declaring type: TTMSFNCDataGridRenderer

Syntax

FMX.TMSFNCDataGridRenderer.hppPascalC++
OnBeforeOpenInplaceEditor: TTMSFNCDataGridBeforeOpenInplaceEditorEvent;
__property TTMSFNCDataGridBeforeOpenInplaceEditorEvent OnBeforeOpenInplaceEditor = {read=FOnBeforeOpenInplaceEditor, write=FOnBeforeOpenInplaceEditor};

Remarks

Fires from EditCell, after the editor type has been resolved and before the editor is created. To decide per cell whether user actions may start editing at all, use OnCanEditCell.

Parameters

Name Description
Sender Renderer that fired the event.
ACell Cell whose editor will open.
AValue Initial editor value that can be adjusted.
ACanOpen Set to False to prevent the editor from opening.