RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TStringGrid.RowMoved Method

Generates an OnRowMoved event.

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

RowMoved is called immediately after a row in the grid changes position. It overrides the inherited method to generate an OnRowMoved event. Descendants of TCustomDrawGrid can override this method to make internal adjustments or to block the OnRowMoved event. 

 

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