RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomDrawGrid.ColumnMoved Method

Generates an OnColumnMoved event.

Pascal
procedure ColumnMoved(FromIndex: Longint; ToIndex: Longint); override;
C++
virtual __fastcall ColumnMoved(Longint FromIndex, Longint ToIndex);

ColumnMoved is called immediately after a column in the grid has moved. It overrides the inherited method to generate an OnColumnMoved event. Descendants of TCustomDrawGrid can override this method to make internal adjustments or to block the OnColumnMoved event. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!