Sign in Join
FPDoc Onlineexperiment

TCDListBox.DoMouseWheel function

Member of TCDListBoxprotectedIn unit CustomDrawnControls

Declaration

pascal
function DoMouseWheel(Shift: TShiftState; WheelDelta: Integer; 
 MousePos: TPoint): Boolean; override

Description

Not described here; this is what TControl.DoMouseWheel says of it:

Signals the OnMouseWheel handlers, when the mouse wheel has been turned.

Multiple wheel handlers can be implemented. First the general OnMouseWheel handler is tried, and if it doesn't report the event handled, then OnMouseWheelUp or OnMouseWheelDown are tried.

The actual WheelDelta is available only to the OnMouseWheel handler, not to the up and down handlers [Delphi compatible].

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