[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Performs a notification when column or row data at the specified positions are exchanged in the grid control.
Source position: grids.pas line 1004
protected procedure TCustomGrid.ColRowExchanged( |
IsColumn: Boolean; |
index: Integer; |
WithIndex: Integer |
); virtual; |
IsColumn |
|
True 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. |
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).