Vcl.Grids.TInplaceEdit.DoMouseWheel

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

function DoMouseWheel(Shift: TShiftState; WheelDelta: Integer;  MousePos: TPoint): Boolean; override;

C++

DYNAMIC bool __fastcall DoMouseWheel(System::Classes::TShiftState Shift, int WheelDelta, const System::Types::TPoint &MousePos);

プロパティ

種類 可視性 ソース ユニット
function protected
Vcl.Grids.pas
Vcl.Grids.hpp
Vcl.Grids TInplaceEdit

説明

関連付けられているグリッドにマウスホイールメッセージを渡します。

TInplaceEdit は,継承 DoMouseWheel メソッドをオーバーライドして,すべてのマウスホイールメッセージを,Grid プロパティによって指定されたグリッドに渡せるようにします。これにより,インプレース編集コントロールにフォーカスがある場合でも,グリッドの OnMouseWheel イベントハンドラが実行されるようになります。

関連項目