Vcl.DBGrids.TCustomDBGrid.TimedScroll

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

Delphi

procedure TimedScroll(Direction: TGridScrollDirection); override;

C++

DYNAMIC void __fastcall TimedScroll(Vcl::Grids::TGridScrollDirection Direction);

プロパティ

種類 可視性 ソース ユニット
procedure
function
protected
Vcl.DbGrids.pas
Vcl.DBGrids.hpp
Vcl.DBGrids TCustomDBGrid

説明

マウスがデータセル外にドラッグされたときに現在のレコードを移動します。

TimedScroll メソッドは,Direction パラメータに sdUp が設定されている場合に,グリッド内の最初の表示レコードにデータセットを移動します。sdDown が設定されている場合,TimedScroll は,グリッド内の最後の表示レコードにデータセットを移動します。TimedScroll は,移動後に継承メソッドを呼び出してイメージを更新します。

関連項目