Skip to main content
Table of Contents

TTMSFNCDataGridBeforeClearSelectedCellsEvent Event Type

Fired before the selected cells are cleared with the Delete key.

API unit family: TMSFNCDataGridRenderer

Remarks

Only fired when TTMSFNCDataGridKeyboardOptions.DeleteKeyHandling is gdkhClearSelectedCells. Read-only cells are never cleared.

Parameters

Name Description
Sender The grid renderer.
ASelection The selection range to clear.
ACanClear Defaults to True. Set to False to cancel clearing.