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

TDBGridColumns.HasAutomaticColumns

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

Declaration

Source position: dbgrids.pas line 310

protected function TDBGridColumns.HasAutomaticColumns: Boolean;

Function result

True when automatic columns are stored in the collection

Description

HasAutomaticColumns is a Boolean function that indicates if any items in the collection are an automatic column added at run-time. Automatic columns are a feature in TDBGrid enabled by adding the approprate value to its OptionsExtra property. HasAutomaticColumns returns True if a TColumn instance in the Items property has its IsAutomaticColumn property set.

See also

TDBGrid.OptionsExtra

  

Contains the extra options enabled for the grid control

TDBGridColumns.RemoveAutoColumns

  

RemoveAutoColumns removes automatic columns in the collection

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