Sign in Join
FPDoc Onlineexperiment

TCustomGrid.ColRowExchanged procedure

Member of TCustomGridprotectedIn unit Grids

Performs a notification when column or row data at the specified positions are exchanged in the grid control.

Declaration

pascal
procedure ColRowExchanged(IsColumn: Boolean; index: Integer; 
 WithIndex: Integer); virtual

Arguments

IsColumnTrue if columns are affected in the method. False if rows are affected.
index

Position for the initial column or row exchanged in the method.

WithIndex

Position for the other column or row exchanged in the method.

Description

ColRowExchanged has an empty implementation in TCustomGrid. It is implemented in descendent classes like TCustomDrawGrid to update the content in the grid and signal the OnColRowExchanged event handler (when assigned).

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