RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDrawGrid.OnColumnMoved Event

Occurs immediately after the position of a column changes.

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

Use OnColumnMoved to perform special processing when the position of a grid column changes. Columns can be moved programmatically or by user manipulation. The FromIndex parameter is the old index of the column, and the ToIndex parameter is the new index. OnColumnMoved does not occur unless the Options property includes goColMoving. 

 

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