RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomDBGrid.OnColumnMoved Event

Occurs when the user moves a column using the mouse.

Pascal
property OnColumnMoved: TMovedEvent;
C++
__property TMovedEvent OnColumnMoved;

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. 

 

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