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

TVirtualGrid.ExchangeColRow

Exchanges values for the current column or row with those at the specified position.

Declaration

Source position: grids.pas line 425

protected procedure TVirtualGrid.ExchangeColRow(

  IsColumn: Boolean;

  index: Integer;

  WithIndex: Integer

);

Arguments

IsColumn

  

True if columns are affected in the method. False if rows are affected.

index

  

Ordinal position for a column or row swapped in the method.

WithIndex

  

Ordinal position for the other column or row swapped in the method.


Version 4.0 Generated 2025-05-03 Home