TGridOperationEvent procedure type
Defines the event handler signalled when rows or columns are added, deleted or moved in a grid.
Declaration
TGridOperationEvent = procedure(Sender: TObject; IsColumn: Boolean;
sIndex: Integer; tIndex: Integer)
of objectArguments
Sender | Control for the event notification. |
IsColumn | True when the notification is for a column and not a row. |
sIndex | Starting index position for the row or column. |
tIndex | Final index position for the row or column. |
Description
TGridOperationEvent specifies an event handler signalled when rows
or columns are added, deleted or moved in a custom-drawn grid control.
TGridOperationEvent is the type used to implement event handler properties in
TCustomDrawGrid, including:
- OnColRowDeleted
- OnColRowExchanged
- OnColRowInserted/
- OnColRowMoved
Applications must implement an object procedure using the signature for the event handler to respond to the event notification.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
