Vcl.Grids.TCustomGrid.CheckRowDrag

From RAD Studio API Documentation
Jump to: navigation, search

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);

Properties

Type Visibility Source Unit Parent
function protected
Vcl.Grids.pas
Vcl.Grids.hpp
Vcl.Grids TCustomGrid

Description

CheckRowDrag validates whether the row currently selected for dragging can be dropped at the current location.

Use CheckRowDrag to validate that the row currently selected for dragging can be dropped at the current location. CheckRowDrag can change the Origin (the row being dragged) and/or the Destination (the drop target), as needed, to keep the grid's rows in order.

See Also