TDBGridColumns.RemoveAutoColumns procedure
RemoveAutoColumns removes automatic columns in the collection.Declaration
procedure RemoveAutoColumnsDescription
RemoveAutoColumns is a procedure used to remove any automatic
columns in the collection. RemoveAutoColumns uses HasAutomaticColumns to
determine if any action is required.
When HasAutomaticColumns returns True the Grid updates its GridStatus to include the value gsRemovingAutoColumns. RemoveAutoColumns calls the Delete method for any column having its IsAutomaticColumn property set to True. gsRemovingAutoColumns is removed from the GridStatus property in the Grid prior to exiting from the method.
Applications do not normally call the RemoveAutoColumns method. Use OptionsExtra in TDBGrid to disable the automatic columns feature for the grid control.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
