RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomGrid.EndRowDrag Method

Ends the dragging of a row in the grid.

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

Call EndRowDrag to end a drag operation. EndRowDrag 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!