[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 285

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/remove items in the collection.

Use IsDesignColumn to determine is 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

#lcl.DBGrids.TColumn.IsDesignColumn

  

Indicates if the column was added at design-time

#lcl.DBGrids.TDBGridColumns.HasAutomaticColumns

  

HasAutomaticColumns indicates if any items in the collection are an automatic column

#lcl.DBGrids.TCustomDBGrid.OptionsExtra

  

Contains the extra options enabled for the grid control

The latest version of this document can be found at lazarus-ccr.sourceforge.net.