Vcl.ButtonGroup.TButtonGroup.OnMouseWheel

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OnMouseWheel: TMouseWheelEvent read FOnMouseWheel write FOnMouseWheel;

C++

__property OnMouseWheel;

Properties

Type Visibility Source Unit Parent
event published
Vcl.ButtonGroup.pas
Vcl.ButtonGroup.hpp
Vcl.ButtonGroup TButtonGroup

Description

Occurs when the mouse wheel is rotated.

Vcl.ButtonGroup.TButtonGroup.OnMouseWheel inherits from Vcl.Controls.TControl.OnMouseWheel. All content below this line refers to Vcl.Controls.TControl.OnMouseWheel.

Occurs when the mouse wheel is rotated.

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.

OnMouseWheel is an event handler of type Vcl.Controls.TMouseWheelEvent.

See Also