Table of Contents

TTMSFNCDataGridDataCheckBoxCell.HandleKey Method

Delivers a keyboard event to the cell; subclasses override to handle key interactions.

API unit family: TMSFNCDataGridCell Declaring type: TTMSFNCDataGridDataCheckBoxCell Inherited from: TTMSFNCDataGridCell, TTMSFNCDataGridCheckBoxCell

Overloads

Overload 1

Delivers a keyboard event to the cell; subclasses override to handle key interactions.

procedure HandleKey(var AKeyInfo: TTMSFNCDataGridKeyInfo); virtual;

Parameters

Name Description
AKeyInfo Key event record; set Blocked or Handled to modify the default grid behaviour.

Overload 2

Routes keyboard input to the embedded checkbox (e.g. Space to toggle the checked state).

procedure HandleKey(var AKeyInfo: TTMSFNCDataGridKeyInfo); override;

Parameters

Name Description
AKeyInfo Keyboard interaction information handled by the cell.