RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomDBGrid.DoMouseWheelDown Method

Performs tasks when the mouse wheel is rotated downward.

Pascal
function DoMouseWheelDown(Shift: TShiftState; MousePos: TPoint): Boolean; override;
C++
virtual __fastcall Boolean DoMouseWheelDown(TShiftState Shift, TPoint MousePos);

Override DoMouseWheelDown to perform tasks when the mouse wheel is rotated downward. 

DoMouseWheelDown returns false if the control's parent should handle the message. 

In TCustomGrid, DoMouseWheelDown increments the current row and returns true. 

 

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