Vcl.Grids.TCustomGrid.RowMoved
Delphi
procedure RowMoved(FromIndex, ToIndex: Longint); dynamic;
C++
DYNAMIC void __fastcall RowMoved(System::LongInt FromIndex, System::LongInt ToIndex);
Propriétés
| Type | Visibilité | Source | Unité | Parent |
|---|---|---|---|---|
procedure function |
protected | Vcl.Grids.pas Vcl.Grids.hpp |
Vcl.Grids | TCustomGrid |
Description
Sert d'interface à une méthode répondant au déplacement d'une ligne.
La méthode RowMoved est appelée immédiatement après le déplacement d'une ligne de la grille. Le paramètre FromIndex contient l'ancien indice de la ligne et le paramètre ToIndex le nouvel indice. La méthode RowMoved de TCustomGrid n'a aucun effet. Les descendants de TCustomGrid surchargent cette méthode pour effectuer des ajustements internes ou pour générer un événement OnRowMoved.