Sign in Join
FPDoc Onlineexperiment

TCustomDBGrid.OnRowMoved property

Member of TCustomDBGridprotectedIn unit DBGrids

Event handler signalled when a row is moved on the grid control.

Declaration

pascal
property OnRowMoved: TMovedEvent read FOnRowMoved write SetRowMoved;

Description

OnRowMoved is a TMovedEvent property with the event handler signalled when a row is moved on the grid control. An application can implement and assign a handler routine to perform actions needed when a row is moved on the control. Arguments to the routine include the grid control, and the index positions for the relocated row and its new position when the move was completed.

When a routine is assigned to the property, the value goRowMoving is included in the Options property. If Nil is assigned to the property, goRowMoving is removed from the Options property.

OnRowMoved is signalled from the ColRowMoved method.

Use OnColumnMoved to perform actions needed when a column is moved on the grid control.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.