Vcl.DBGrids.TCustomDBGrid.OnColumnMoved
Delphi
property OnColumnMoved: TMovedEvent read FOnColumnMoved write FOnColumnMoved;
C++
__property Vcl::Grids::TMovedEvent OnColumnMoved = {read=FOnColumnMoved, write=FOnColumnMoved};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
event | protected | Vcl.DbGrids.pas Vcl.DBGrids.hpp |
Vcl.DBGrids | TCustomDBGrid |
Description
Occurs when the user moves a column using the mouse.
Write an OnColumnMoved event handler to take specific action just after a column in the grid has been moved.
OnColumnMoved can only occur when the Options property includes dgColumnResize.