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

TMouseWheelEvent

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

Declaration

Source position: controls.pp line 481

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.


Version 3.2 Generated 2024-02-25 Home