RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomGrid.BeginRowDrag Method

Starts the dragging of a row in the grid.

Pascal
function BeginRowDrag(var Origin: Integer; var Destination: Integer; const MousePt: TPoint): Boolean; dynamic;
C++
__fastcall Boolean BeginRowDrag(int Origin, int Destination, const TPoint MousePt);

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. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!