Vcl.Grids.TInplaceEdit.DoMouseWheel
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 イベントハンドラが実行されるようになります。