Vcl.DBGrids.TCustomDBGrid.EndColumnDrag

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function EndColumnDrag(var Origin, Destination: Integer;
const MousePt: TPoint): Boolean; override;

C++

DYNAMIC bool __fastcall EndColumnDrag(int &Origin, int &Destination, const System::Types::TPoint &MousePt);

Properties

Type Visibility Source Unit Parent
function protected
Vcl.DbGrids.pas
Vcl.DBGrids.hpp
Vcl.DBGrids TCustomDBGrid

Description

Ends the dragging of a column in the grid.

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.

See Also