Vcl.DBGrids.TCustomDBGrid.SetColumnAttributes
Delphi
procedure SetColumnAttributes; virtual;
C++
virtual void __fastcall SetColumnAttributes();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Vcl.DbGrids.pas Vcl.DBGrids.hpp |
Vcl.DBGrids | TCustomDBGrid |
Description
Sets the column widths and disables tabbing to cells that can't be edited.
Applications cannot call this protected method. It is called automatically when the Columns property is recomputed, to adjust the column widths and ensure that the user can only tab to fields that can be edited.