Unit 'Controls' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#lcl]

TMouseWheelEvent

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

Declaration

Source position: controls.pp line 453

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.



CT Web help

CodeTyphon Studio