Sign in Join
FPDoc Onlineexperiment

TMouseWheelEvent procedure type

In unit Controls

Specifies an event handler used to respond to mouse wheel events.

Declaration

pascal
TMouseWheelEvent = procedure(Sender: TObject; Shift: TShiftState; 
 WheelDelta: Integer; MousePos: TPoint; 
 var Handled: Boolean) of object

Arguments

Sender

The control under the mouse.

Shift

State of the modifier keys and mouse buttons.

WheelDelta

How many notches the wheel has been turned.

MousePos

The mouse position, in client coordinates.

Handled

Set Handled to True when the event was handled.

Description

Nothing more than the line above yet.

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