Vcl.Controls.TMouseWheelUpDownEvent

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TMouseWheelUpDownEvent = procedure(Sender: TObject; Shift: TShiftState;
MousePos: TPoint; var Handled: Boolean) of object;

C++

typedef void __fastcall (__closure *TMouseWheelUpDownEvent)(System::TObject* Sender, System::Classes::TShiftState Shift, const System::Types::TPoint &MousePos, bool &Handled);

Properties

Type Visibility Source Unit Parent
type
typedef
public
Vcl.Controls.pas
Vcl.Controls.hpp
Vcl.Controls Vcl.Controls

Description

TMouseWheelUpDownEvent is the function type for an OnMouseWheelUp and an OnMouseWheelDown event.

TMouseWheelUpDownEvent has the following parameters:



Parameter Meaning

Sender

The control which generated the event.

Shift

The shift state during the rotation of the mouse wheel.

MousePos

The current mouse position.

Handled

This parameter is used to specify whether the event is handled in the user code.



See Also