Table of Contents

TTMSFNCDataGridKeyboardOptions Class

Keyboard interaction options: configures how arrow keys, Tab, Enter, Delete, Home, End, Insert, and shortcut keys behave within the grid.

API unit family: TMSFNCDataGridRenderer Inherits from: TPersistent

Syntax

TTMSFNCDataGridKeyboardOptions = class(TPersistent)

Properties

Name Description
AppendColumnOnArrowKeyRight When True, pressing the right arrow key while on the last column appends a new column. Default is False.
AppendRowOnArrowKeyDown When True, pressing the down arrow key while on the last row appends a new row. Default is False.
ArrowKeyDirectEdit When True, pressing any arrow key while a cell is focused immediately opens the in-place editor. Default is False.
CellMergeShortcut When True, enables the Ctrl+M keyboard shortcut for merging selected cells. Default is False.
DeleteKeyHandling Determines what happens when the Delete key is pressed.
EndKeyHandling Determines what happens when the End key is pressed.
EnterKeyDirectEdit When True, pressing Enter immediately starts editing the focused cell. Default is False.
EnterKeyHandling Determines what happens when Enter is pressed to confirm or navigate after editing.
FindShortcut When True, enables the Ctrl+F shortcut to open the Find dialog. Default is True.
HomeKeyHandling Determines what happens when the Home key is pressed.
InsertKeyHandling Determines what happens when the Insert key is pressed.
PageScrollSize Number of rows to scroll per Page Up / Page Down key press. 0 (default) means one full visible page.
ReplaceShortcut When True, enables the Ctrl+H shortcut to open the Replace dialog. Default is True.
TabKeyDirectEdit When True, pressing Tab immediately opens the in-place editor for the newly focused cell. Default is False.
TabKeyDirection Controls whether Tab advances to the next column or the next row.
TabKeyHandling Controls whether Tab navigates between grid cells, moves OS focus to the next control, or uses mixed mode.

Used by