RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCategoryButtons.OnMouseWheel Event

Occurs when the mouse wheel is rotated.

Pascal
property OnMouseWheel: TMouseWheelEvent;
C++
__property TMouseWheelEvent OnMouseWheel;

Write code in the OnMouseWheel event handler to respond to mouse wheel messages. If there is no OnMouseWheel event handler, or if the mouse wheel message is not handled in the OnMouseWheel event handler, then an OnMouseWheelUp or OnMouseWheelDown event occurs, depending on the direction the mouse wheel was rotated. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!