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

TControl.OnMouseWheel

Event handler for mouse wheel turned.

Declaration

Source position: controls.pp line 1380

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

  

Type of an OnMouseWheel event handler.

This page is hosted on Get Lazarus Code and Component Repository at SourceForge.net. Fast, secure and Free Open Source software downloads