Vcl.Grids.TCustomGrid.DoMouseWheelUp

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

Delphi

function DoMouseWheelUp(Shift: TShiftState; MousePos: TPoint): Boolean; override;

C++

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

プロパティ

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

説明

マウスホイールが上向きに回転したときにタスクを実行します。

DoMouseWheelUp メソッドをオーバーライドすると,マウスホイールが下向きに回転したときにタスクを実行できます。

DoMouseWheelUp メソッドは,コントロールの親がメッセージを処理しなければならない場合に false を返します。

TCustomGrid では,DoMouseWheelUp は,現在の行をデクリメントして,true を返します。

関連項目