Unit 'DBGrids' Package
[Overview][Constants][Types][Classes][Procedures and functions][Index] [#lcl]

TMovedEvent

Specifies an event handler signalled when the display order of rows or columns is changed.

Declaration

Source position: dbgrids.pas line 103

type TMovedEvent = procedure(

  Sender: TObject;

  FromIndex: Integer;

  ToIndex: Integer

) of object;

Arguments

Sender

  

Grid control for the event.

FromIndex

  

Previous ordinal position for the event.

ToIndex

  

New ordinal position for the event.

Description

TMovedEvent specifies an event handler signalled when the display order of rows or columns is changed. TMovedEvent is the type used for the OnColumnMoved and OnRowMoved properties in TDBGrid.