RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomDBGrid.EndColumnDrag Method

Ends the dragging of a column in the grid.

Pascal
function EndColumnDrag(var Origin: Integer; var Destination: Integer; const MousePt: TPoint): Boolean; override;
C++
virtual __fastcall Boolean EndColumnDrag(int Origin, int Destination, const TPoint MousePt);

Call EndColumnDrag to end a drag operation. EndColumnDrag enables the grid to control where the column can be dropped. It is exposed as a protected method so that descendants of TCustomDBGrid can customize column dragging in a grid. 

 

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