RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomDBGrid.ColumnMoved Method

Generates an OnColumnMoved event.

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

Applications cannot directly call ColumnMoved. It is exposed as a protected method so that descendants can call the OnColumnMoved event handler in response to other events or override the response after a column in the grid is moved. 

 

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