Sign in Join
FPDoc Onlineexperiment

TColumn.IsAutomaticColumn property

Member of TColumnprotectedIn unit DBGrids

Indicates if the column was automatically added at run-time.

Declaration

pascal
property IsAutomaticColumn: Boolean read FIsAutomaticColumn;

Description

IsAutomaticColumn is a read-only Boolean property that indicates if the column was automatically added to the collection at run-time. The value in IsAutomaticColumn is updated when TDBGrid.AddAutomaticColumns and TDBGridColumns.RemoveAutoColumns add or remove items in the collection.

Use IsDesignColumn to determine if the column was added at design-time. Use TDBGridColumns.HasAutomaticColumns to determine if any automatic columns are stored in the collection. Use TDBGrid.OptionsExtra to enable or disable automatically columns in a database grid control.

See also

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