Vcl.Grids.TCustomGrid.RowMoved

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure RowMoved(FromIndex, ToIndex: Longint); dynamic;

C++

DYNAMIC void __fastcall RowMoved(int FromIndex, int ToIndex);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
Vcl.Grids.pas
Vcl.Grids.hpp
Vcl.Grids TCustomGrid

Description

Provides the interface for a method that responds when the position of a row changes.

RowMoved is called immediately after a row in the grid changes position.

The FromIndex parameter is the old index of the row, and the ToIndex parameter is the new index.

The RowMoved method of TCustomGrid does nothing. Descendants of TCustomGrid override this method to make internal adjustments or to generate an event, such as Vcl.Grids.TCustomDrawGrid.OnRowMoved.

See Also