Vcl.DBGrids.TDBGrid.OnColumnMoved

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OnColumnMoved: TMovedEvent read FOnColumnMoved write FOnColumnMoved;

C++

__property OnColumnMoved;

Properties

Type Visibility Source Unit Parent
event published
Vcl.DbGrids.pas
Vcl.DBGrids.hpp
Vcl.DBGrids TDBGrid

Description

Occurs when the user moves a column using the mouse.

Vcl.DBGrids.TDBGrid.OnColumnMoved inherits from Vcl.DBGrids.TCustomDBGrid.OnColumnMoved. All content below this line refers to Vcl.DBGrids.TCustomDBGrid.OnColumnMoved.

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.

See Also