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