Sign in Join
FPDoc Onlineexperiment

TCustomDBGrid.DoMouseWheelDown function

Member of TCustomDBGridprotectedIn unit DBGrids

Handles mouse wheel down events in the grid control.

Declaration

pascal
function DoMouseWheelDown(Shift: TShiftState; MousePos: TPoint)
: Boolean; override

Arguments

Shift

Shift state for the mouse wheel event.

MousePos

Location of the mouse wheel event.

Function result

True when the mouse event is handled in the method.

Description

DoMouseWheelDown is an overridden Boolean function used to handle mouse wheel down events in the grid control. The return value is True when the mouse wheel event has been handled in the method. DoMouseWheelDown signals the OnMouseWheelDown event handler when it has been assigned to handle the mouse event. If OnMouseWheelDown cannot handle the mouse event, and the DataLink is marked as Active, DataLink calls its MoveBy method.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.