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

説明

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

Vcl.DBGrids.TCustomDBGrid.DoMouseWheelUp は Vcl.Grids.TCustomGrid.DoMouseWheelUp を継承しています。以下の内容はすべて Vcl.Grids.TCustomGrid.DoMouseWheelUp を参照しています。

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

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

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

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

関連項目