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

TControl.OnMouseWheel

Event handler for mouse wheel turned.

Declaration

Source position: controls.pp line 1526

protected property TControl.OnMouseWheel : TMouseWheelEvent
  read FOnMouseWheel
  write FOnMouseWheel;

Description

By default all mouse wheel actions are translated into scroll events. Write an OnMouseWheel handler to react on turns of the mouse wheel.

The OnMouseWheelUp and OnMouseWheelDown handlers are notified only, they are not suited for customization of mouse wheel events.

See also

TMouseWheelEvent

  

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



CT Web help

CodeTyphon Studio