Vcl.Grids.TCustomGrid.CheckRowDrag

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

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(ドロップ先)を変更して,グリッドの行を順序正しく保持することができます。

関連項目