Vcl.Grids.TCustomGrid.BeginRowDrag
Delphi
function BeginRowDrag(var Origin, Destination: Integer; const MousePt: TPoint): Boolean; dynamic;
C++
DYNAMIC bool __fastcall BeginRowDrag(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
Starts the dragging of a row in the grid.
Call BeginRowDrag to start a drag operation. BeginRowDrag enables the grid to control where the row can be dropped. It is exposed as a protected method so that descendants of TCustomGrid can customize row dragging in a grid.