RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDrawGrid.OnRowMoved Event

Occurs immediately after the position of a row changes.

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

Write an OnRowMoved event handler to provide special processing whenever a row in the grid changes position. Rows can be moved programmatically or by user manipulation. The FromIndex parameter is the old index of the row, and the ToIndex parameter is the new index. OnRowMoved does not occur unless the Options property includes goRowMoving. 

 

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