Vcl.Grids.TCustomGrid.CheckRowDrag
Delphi
function CheckRowDrag(var Origin, Destination: Integer; const MousePt: TPoint): Boolean; dynamic;
C++
DYNAMIC bool __fastcall CheckRowDrag(int &Origin, int &Destination, const System::Types::TPoint &MousePt);
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
function | protected | Vcl.Grids.pas Vcl.Grids.hpp |
Vcl.Grids | TCustomGrid |
説明
CheckRowDrag は,ドラッグするために選択中の行を現在の位置にドロップできるかどうかを検証します。
CheckRowDrag メソッドを使用すると,ドラッグするために選択中の行を現在の位置にドロップできるかどうかを検証できます。CheckRowDrag メソッドは必要に応じて Origin(ドラッグ中の行)や Destination(ドロップ先)を変更して,グリッドの行を順序正しく保持することができます。