[Overview][Constants][Types][Classes][Procedures and functions][Index] |
RemoveAutoColumns removes automatic columns in the collection
Source position: dbgrids.pas line 312
protected procedure TDBGridColumns.RemoveAutoColumns; |
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 TDBGrid.OptionsExtra to disable the automatic columns feature in the grid control.
#lcl.DBGrids.TDBGrid.RemoveAutomaticColumns |
||
|
Add creates and stores a new item in the collection |
lazarus-ccr.sourceforge.net |