Vcl.Grids.TCustomGrid.DoMouseWheelUp
Delphi
function DoMouseWheelUp(Shift: TShiftState; MousePos: TPoint): Boolean; override;
C++
DYNAMIC bool __fastcall DoMouseWheelUp(System::Classes::TShiftState Shift, const System::Types::TPoint &MousePos);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | Vcl.Grids.pas Vcl.Grids.hpp |
Vcl.Grids | TCustomGrid |
Description
Performs tasks when the mouse wheel is rotated upward.
Override DoMouseWheelUp to perform tasks when the mouse wheel is rotated downward.
DoMouseWheelUp should return false if the control's parent should handle the message.
In TCustomGrid, DoMouseWheelUp decrements the current row and returns true.