Skip to main content
Table of Contents

TTMSFNCDataGridMouseOptions.WheelScrollKeepSelection Property

When True (default), the mouse wheel scrolls the grid and keeps the current selection. When False, the wheel moves the focused cell up or down instead.

API unit family: TMSFNCDataGridRenderer Declaring type: TTMSFNCDataGridMouseOptions Type: Boolean

Syntax

FMX.TMSFNCDataGridRenderer.hppPascalC++
property WheelScrollKeepSelection: Boolean;
__property bool WheelScrollKeepSelection = {read=FWheelScrollKeepSelection, write=SetWheelScrollKeepSelection, default=1};

Default: True

Remarks

Ctrl+wheel (Cmd+wheel on macOS) always scrolls without changing the selection.