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

TCustomGrid.DoOPMoveColRow

Performs a move operation for the column or row at the specified position.

Declaration

Source position: grids.pas line 1026

protected procedure TCustomGrid.DoOPMoveColRow(

  IsColumn: Boolean;

  FromIndex: Integer;

  ToIndex: Integer

);

Arguments

IsColumn

  

True if Index refers to a column instead of a row.

FromIndex

  

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

ToIndex

  

Ordinal position where the column or row is relocated in the method.