API:Vcl.DBGrids.TCustomDBGrid.CheckColumnDrag

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

Delphi

function CheckColumnDrag(var Origin, Destination: Integer;  const MousePt: TPoint): Boolean; override;

C++

DYNAMIC bool __fastcall CheckColumnDrag(int &Origin, int &Destination, const System::Types::TPoint &MousePt);

プロパティ

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

説明

CheckColumnDrag は,ドラッグするために選択中の列を現在の位置にドロップできるかどうかを検証します。

Vcl.DBGrids.TCustomDBGrid.CheckColumnDrag は Vcl.Grids.TCustomGrid.CheckColumnDrag を継承しています。以下の内容はすべて Vcl.Grids.TCustomGrid.CheckColumnDrag を参照しています。

CheckColumnDrag は,ドラッグするために選択中の列を現在の位置にドロップできるかどうかを検証します。

CheckColumnDrag メソッドを使用すると,ドラッグするために選択中の列を現在の位置にドロップできるかどうかを検証できます。CheckColumnDrag メソッドは必要に応じて Origin(ドラッグ中の列)や Destination(ドロップ先)を変更して,グリッドの列を順序正しく保持することができます。

関連項目