Vcl.DBGrids.TCustomDBGrid.DoMouseWheelUp

From RAD Studio API Documentation
Jump to: navigation, search

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.DbGrids.pas
Vcl.DBGrids.hpp
Vcl.DBGrids TCustomDBGrid

Description

Performs tasks when the mouse wheel is rotated upward.

Vcl.DBGrids.TCustomDBGrid.DoMouseWheelUp inherits from Vcl.Grids.TCustomGrid.DoMouseWheelUp. All content below this line refers to Vcl.Grids.TCustomGrid.DoMouseWheelUp.

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.

See Also