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

# TColumn.IsAutomaticColumn

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

## Declaration

Source position: dbgrids.pas line 280

`protected property TColumn.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

TColumn.IsDesignColumn |  | Indicates if the column was added at design-time.
TDBGridColumns |  | Implements a collection for columns in a database-aware grid.
TDBGrid.Columns |  | Defines the dataset fields and their editing characteristics on the grid control.
TDBGrid.OptionsExtra |  | Contains the extra options enabled for the database grid control.