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

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 appropriate 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 database grid control.

TDBGridColumns.RemoveAutoColumns

  

RemoveAutoColumns removes automatic columns in the collection.


Version 4.0 Generated 2025-05-03 Home