TDBGridColumns.Add function
Add creates and stores a new item in the collection.Declaration
function Add: TColumnFunction result
TColumn added to the collection.
Description
Add creates and stores a new TColumn instance in the collection.
Add uses the Grid property (and the value in its GridStatus property) to determine whether the column is being explicitly added to the collection or added as a result of the automatic columns option in the grid. If the Grid contains the value gsAddingAutoColumns in its GridStatus property, existing automatic columns are left in the collection. Otherwise, RemoveAutoColumns is called prior to creating and storing the new TColumn instance.
Add calls the inherited Add method to create and store the new TColumn instance.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
