RAD Studio VCL Reference
|
CheckRowDrag validates whether the row currently selected for dragging can be dropped at the current location.
function CheckRowDrag(var Origin: Integer; var Destination: Integer; const MousePt: TPoint): Boolean; dynamic;
__fastcall Boolean CheckRowDrag(int Origin, int Destination, const TPoint MousePt);
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.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|