TCustomGrid.ColRowMoved procedure
Performs actions when a column or row is moved in the grid.
Declaration
procedure ColRowMoved(IsColumn: Boolean; FromIndex: Integer;
ToIndex: Integer); virtualArguments
IsColumn | True if the specified index values refer to a column positions. False when they refer to row positions. |
FromIndex | Ordinal position for the column or row moved in the grid control. |
ToIndex | New ordinal position for the column or row after it has been moved in the grid control. |
Description
ColRowMoved is virtual method in
TCustomGrid used to
perform actions when a column or a row is moved in the grid control. It has
an empty implementation, must be overridden in a descendent class.
ColRowMoved is called from the DoOPMoveColRow method, and occurs after Columns has been updated (when needed and enabled). It occurs before VisualChange is called or the bounds for an editor control are adjusted.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
