[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Controls' (#lcl)

TMouseWheelEvent

Type of an OnMouseWheel event handler.

Declaration

Source position: controls.pp line 375

type 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.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.