RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TInplaceEdit.DoMouseWheel Method

Delegates mouse wheel messages to the associated grid.

Pascal
function DoMouseWheel(Shift: TShiftState; WheelDelta: Integer; MousePos: TPoint): Boolean; override;
C++
virtual __fastcall Boolean DoMouseWheel(TShiftState Shift, int WheelDelta, TPoint MousePos);

TInplaceEdit overrides the inherited DoMouseWheel method so that it can pass any mouse wheel messages on to the grid specified by the Grid property. This causes the grid's OnMouseWheel event handler to execute even though the inplace edit control has focus. 

 

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