[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'DBGrids' (#lcl)

TCustomDBGrid.ColRowMoved

Signals event handlers when a row or a column is moved in the grid control.

Declaration

Source position: dbgrids.pas line 428

protected procedure TCustomDBGrid.ColRowMoved(

  IsColumn: Boolean;

  FromIndex: Integer;

  ToIndex: Integer

); override;

Description

ColRowMoved is an overridden procedure used to signal event handlers when a row or a column is moved in the grid control. When IsColumn contains False, the OnRowMoved event handler is signalled (when assigned). When IsColumn contains True, the OnColumnMoved event handler is signalled (when assigned) if Columns have not been Enabled in the grid control. If Columns have been Enabled, the inherited ColRowMoved method is called.

See also

TCustomGrid.ColRowMoved

  

Performs a notification when column or row data is moved in the grid.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.