Sign in Join
FPDoc Onlineexperiment

TDBGridColumns.ResetColumnsOrder procedure

Member of TDBGridColumnspublicIn unit DBGrids

ResetColumnsOrder arranges columns in the collection to the specified order.

Declaration

pascal
procedure ResetColumnsOrder(ColumnOrder: TColumnOrder)

Arguments

ColumnOrder

Sort order for columns in the collection.

Description

ResetColumnsOrder is a procedure used to arrange columns in the collection to the order specified in the ColumnOrder argument. ColumnOrder can contain the following values:

coDesignOrder
TColumn.DesignIndex (when available) is used to order collection items.
coFieldIndex
The index for the TColumn.Field (when available) is used to order collection items.

Otherwise, the index of the collection item is unchanged.

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